summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorK.Takata <kentkt@csc.jp>2024-05-23 17:31:26 +0200
committerChristian Brabandt <cb@256bit.org>2024-05-23 17:31:26 +0200
commitcd79f8fbd34cdb918153d9fa3821eb4092b7b5fc (patch)
treed83e15ebab6cd37a349a5b79b88079fefba929e9 /runtime
parent3554d9bfcc679bc343f2742fee61dbcb1021a9e9 (diff)
patch 9.1.0435: filetype: cygport files are not recognizedv9.1.0435
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: #14833 Signed-off-by: K.Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index bc90469172..32c6011f8b 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2149,7 +2149,7 @@ au BufNewFile,BufRead catalog setf catalog
" Gentoo ebuilds, Arch Linux PKGBUILDs and Alpine Linux APKBUILDs are actually
" bash scripts.
" NOTE: Patterns ending in a star are further down, these have lower priority.
-au BufNewFile,BufRead .bashrc,bashrc,bash.bashrc,.bash[_-]profile,.bash[_-]logout,.bash[_-]aliases,.bash[_-]history,bash-fc[-.],*.ebuild,*.bash,*.eclass,PKGBUILD,APKBUILD,*.bats call dist#ft#SetFileTypeSH("bash")
+au BufNewFile,BufRead .bashrc,bashrc,bash.bashrc,.bash[_-]profile,.bash[_-]logout,.bash[_-]aliases,.bash[_-]history,bash-fc[-.],*.ebuild,*.bash,*.eclass,PKGBUILD,APKBUILD,*.bats,*.cygport call dist#ft#SetFileTypeSH("bash")
au BufNewFile,BufRead .kshrc,*.ksh call dist#ft#SetFileTypeSH("ksh")
au BufNewFile,BufRead */etc/profile,.profile,*.sh,*.env call dist#ft#SetFileTypeSH(getline(1))