1
0
forked from aniani/vim

patch 9.1.0596: filetype: devscripts config files are not recognized

Problem:  filetype: Debian devscripts config files are not recognized
Solution: detect devscripts.conf and .devscripts files as sh filetype
          (sourced by /bin/sh)

closes: #15227

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Wu, Zhenyu
2024-07-17 20:18:10 +02:00
committed by Christian Brabandt
parent 2736cc725d
commit 76c19028ff
3 changed files with 7 additions and 1 deletions

View File

@@ -510,6 +510,9 @@ au BufNewFile,BufRead *.cu,*.cuh setf cuda
" Cue
au BufNewFile,BufRead *.cue setf cue
" Debian devscripts
au BufNewFile,BufRead devscripts.conf,.devscripts setf sh
" Dockerfile; Podman uses the same syntax with name Containerfile
" Also see Dockerfile.* below.
au BufNewFile,BufRead Containerfile,Dockerfile,dockerfile,*.[dD]ockerfile setf dockerfile