From 462bb76e06c9efa66cc4bae098dcc5497dd1069d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 2 Feb 2017 22:22:41 +0100 Subject: Change powershell provider to PProvost, closes #177 --- ftdetect/polyglot.vim | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 386086dc..721fd06a 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -658,6 +658,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'powershell') == au BufNewFile,BufRead *.ps1 set ft=ps1 au BufNewFile,BufRead *.psd1 set ft=ps1 au BufNewFile,BufRead *.psm1 set ft=ps1 +au BufNewFile,BufRead *.pssc set ft=ps1 endif @@ -673,7 +674,6 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'powershell') == au BufNewFile,BufRead *.ps1xml set ft=ps1xml - endif " ftdetect/pug.vim @@ -1018,4 +1018,19 @@ au BufNewFile,BufRead *.vue setf vue.html.javascript.css endif +" ftdetect/xml.vim +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'powershell') == -1 + +" Vim ftdetect plugin file +" Language: Windows PowerShell +" Maintainer: Peter Provost +" Version: 2.10 +" Project Repository: https://github.com/PProvost/vim-ps1 +" Vim Script Page: http://www.vim.org/scripts/script.php?script_id=1327 + +au BufNewFile,BufRead *.cdxml set ft=xml +au BufNewFile,BufRead *.psc1 set ft=xml + +endif + augroup END -- cgit v1.2.3