From 83bd2984761566a6c6dae65bebd173a4a649c956 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 23 Apr 2019 11:38:41 +0200 Subject: Add xdc syntax, closes #393 --- ftdetect/polyglot.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ftdetect') 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 + -- cgit v1.2.3