mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
vim-patch:9.1.0435: filetype: cygport files are not recognized
Problem: filetype: cygport files are not recognized
Solution: Recognize '*.cygport' files as sh filetype
(Ken Takata)
https://cygwin.github.io/cygport/cygport_in.html
closes: vim/vim#14833
cd79f8fbd3
Co-authored-by: K.Takata <kentkt@csc.jp>
This commit is contained in:
parent
9b9f54e2c1
commit
0d3d198109
@ -948,6 +948,7 @@ local extension = {
|
||||
sexp = 'sexplib',
|
||||
bash = detect.bash,
|
||||
bats = detect.bash,
|
||||
cygport = detect.bash,
|
||||
ebuild = detect.bash,
|
||||
eclass = detect.bash,
|
||||
env = detect.sh,
|
||||
|
@ -645,7 +645,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'sh': ['.bashrc', '.bash_profile', '.bash-profile', '.bash_logout', '.bash-logout', '.bash_aliases', '.bash-aliases', '.bash_history', '.bash-history',
|
||||
\ '/tmp/bash-fc-3Ozjlw', '/tmp/bash-fc.3Ozjlw', 'PKGBUILD', 'APKBUILD', 'file.bash', '/usr/share/doc/bash-completion/filter.sh',
|
||||
\ '/etc/udev/cdsymlinks.conf', 'any/etc/udev/cdsymlinks.conf', 'file.bats', '.ash_history', 'any/etc/neofetch/config.conf', '.xprofile',
|
||||
\ 'user-dirs.defaults', 'user-dirs.dirs', 'makepkg.conf', '.makepkg.conf', 'file.mdd'],
|
||||
\ 'user-dirs.defaults', 'user-dirs.dirs', 'makepkg.conf', '.makepkg.conf', 'file.mdd', 'file.cygport'],
|
||||
\ 'sieve': ['file.siv', 'file.sieve'],
|
||||
\ 'sil': ['file.sil'],
|
||||
\ 'simula': ['file.sim'],
|
||||
|
Loading…
Reference in New Issue
Block a user