summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
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
+