From 150168b8814537c77fa005cee107b551718a7245 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 7 Jun 2020 18:55:00 -0400 Subject: vim-patch:8.2.0927: some sshconfig and ssdhconfig files are not recognized Problem: Some sshconfig and ssdhconfig files are not recognized. Solution: Add filetype patterns. https://github.com/vim/vim/commit/da84ac2a6f467d0b9eddcc8709433cda75d16a41 --- runtime/filetype.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'runtime/filetype.vim') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 383a45b9d3..141008a5ab 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1613,10 +1613,12 @@ au BufNewFile,BufRead *.sqlj setf sqlj au BufNewFile,BufRead *.sqr,*.sqi setf sqr " OpenSSH configuration -au BufNewFile,BufRead ssh_config,*/.ssh/config setf sshconfig +au BufNewFile,BufRead ssh_config,*/.ssh/config setf sshconfig +au BufNewFile,BufRead */etc/ssh/ssh_config.d/*.conf setf sshconfig " OpenSSH server configuration -au BufNewFile,BufRead sshd_config setf sshdconfig +au BufNewFile,BufRead sshd_config setf sshdconfig +au BufNewFile,BufRead */etc/ssh/sshd_config.d/*.conf setf sshdconfig " Stata au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata setf stata -- cgit From abadb687fb76b9ef34c5df7f6da88fdf0a20577b Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 10 Jun 2020 22:39:57 -0400 Subject: vim-patch:8.2.0954: not all desktop files are recognized Problem: Not all desktop files are recognized. Solution: Add the *.directory pattern. (Eisuke Kawashima, closes vim/vim#3317) https://github.com/vim/vim/commit/f1f0ff9557353c9a452aac8540411a88cf2da47c --- runtime/filetype.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/filetype.vim') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 141008a5ab..2ba80a7d3b 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -458,7 +458,7 @@ au BufNewFile,BufRead *.desc setf desc au BufNewFile,BufRead *.d call dist#ft#DtraceCheck() " Desktop files -au BufNewFile,BufRead *.desktop,.directory setf desktop +au BufNewFile,BufRead *.desktop,*.directory setf desktop " Dict config au BufNewFile,BufRead dict.conf,.dictrc setf dictconf -- cgit From 954aed886ec2416e810c534fbd95818c99cdb71e Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 14 Jun 2020 17:58:53 -0400 Subject: vim-patch:8.2.0980: raku file extension not recognized Problem: Raku file extension not recognized. (Steven Penny) Solution: Recognize .raku and .rakumod. (closes vim/vim#6255) https://github.com/vim/vim/commit/a65d8b5bb9e9267c6e4500c67d26c839a64f30eb --- runtime/filetype.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/filetype.vim') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 2ba80a7d3b..f24352323d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1162,6 +1162,7 @@ else endif au BufNewFile,BufRead *.plx,*.al,*.psgi setf perl au BufNewFile,BufRead *.p6,*.pm6,*.pl6 setf perl6 +au BufNewFile,BufRead *.raku,*.rakumod setf perl6 " Perl, XPM or XPM2 au BufNewFile,BufRead *.pm -- cgit From b4e4c2ad95bc305a894ad78c6880d9017ae69f8f Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 15 Jun 2020 22:58:29 -0400 Subject: vim-patch:8.2.0983: SConstruct file type not recognized Problem: SConstruct file type not recognized. Solution: Use python for SConstruct files. (Roland Hieber) https://github.com/vim/vim/commit/ad72350360d1a68d251da62a6e8610950926278c --- runtime/filetype.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/filetype.vim') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index f24352323d..12a5ca729d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1292,7 +1292,8 @@ au BufNewFile,BufRead *.pyx,*.pxd setf pyrex " Python, Python Shell Startup and Python Stub Files " Quixote (Python-based web framework) -au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc,*.ptl,*.pyi setf python +au BufNewFile,BufRead *.py,*.pyw,.pythonstartup,.pythonrc setf python +au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python " Radiance au BufNewFile,BufRead *.rad,*.mat setf radiance -- cgit