summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-02-02 22:22:41 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-02-02 22:22:41 +0100
commit462bb76e06c9efa66cc4bae098dcc5497dd1069d (patch)
treeff1f697eb917122e1f946e2201c538dda06f2fde /ftdetect
parent8002795088067e5b9f578b748f9be0089621dc30 (diff)
downloadvim-polyglot-462bb76e06c9efa66cc4bae098dcc5497dd1069d.tar.gz
vim-polyglot-462bb76e06c9efa66cc4bae098dcc5497dd1069d.zip
Change powershell provider to PProvost, closes #177
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim17
1 files changed, 16 insertions, 1 deletions
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 <peter@provost.org>
+" 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