summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-04-23 11:38:41 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-04-23 11:38:41 +0200
commit83bd2984761566a6c6dae65bebd173a4a649c956 (patch)
treebdd2519a33097e68d47e55ffee3bc9547631ecae /ftdetect
parent415261dd1f4ce4b547da922f3f2c2e56340fb0d6 (diff)
downloadvim-polyglot-83bd2984761566a6c6dae65bebd173a4a649c956.tar.gz
vim-polyglot-83bd2984761566a6c6dae65bebd173a4a649c956.zip
Add xdc syntax, closes #393
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index fdcab84d..4e796dc9 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1425,3 +1425,11 @@ au BufNewFile,BufRead *.vue,*.wpy setf vue
augroup end
endif
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xdc') == -1
+ augroup filetypedetect
+ " xdc, from xdc.vim in amal-khailtash/vim-xdc-syntax
+" xdc
+autocmd BufNewFile,BufRead *.xdc setfiletype xdc
+ augroup end
+endif
+