From dde89730b453fd2b84860e58bb8893c92417128b Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 2 Apr 2021 13:44:25 -0400 Subject: vim-patch:8.2.2690: PowerShell files are not recognized (#14276) Problem: PowerShell files are not recognized. Solution: Recognize several PowerShell extension. (Heath Stewart, closes vim/vim#8051) https://github.com/vim/vim/commit/ef38bcf05196ad7e795dd77b4922fa9db58fc310 N/A patches for version.c: vim-patch:8.2.2689: tiny build fails Problem: Tiny build fails. Solution: Add #ifdef around use of p_stl. https://github.com/vim/vim/commit/160a2b4dac198f31fbcff9d696548e011c4602c1 vim-patch:8.2.2691: autoconf may mess up compiler flags Problem: Autoconf may mess up compiler flags. Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov, closes vim/vim#8049) https://github.com/vim/vim/commit/3fa5e64e0ed55de718e48d0268edc360b2352bc1 --- runtime/filetype.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime') diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 36352db533..52cd2dcbfd 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1275,6 +1275,11 @@ au BufNewFile,BufRead .povrayrc setf povini " Povray, Pascal, PHP or assembly au BufNewFile,BufRead *.inc call dist#ft#FTinc() +" PowerShell +au BufNewFile,BufRead *.ps1,*.psd1,*.psm1,*.pssc setf ps1 +au BufNewFile,BufRead *.ps1xml setf ps1xml +au BufNewFile,BufRead *.cdxml,*.psc1 setf xml + " Printcap and Termcap au BufNewFile,BufRead *printcap \ let b:ptcap_type = "print" | setf ptcap -- cgit