diff options
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 549851e0..f19344d8 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -458,11 +458,11 @@ endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'i3') == -1 augroup filetypedetect - " i3, from i3.vim in PotatoesMaster/i3-vim-syntax -augroup i3_ftdetect - au! - au BufRead,BufNewFile *i3/config,*sway/config set ft=i3 -augroup END + " i3, from i3config.vim in mboughaba/i3config.vim +aug i3config#ft_detect + au! + au BufNewFile,BufRead .i3.config,i3.config,*.i3config,*.i3.config set filetype=i3config +aug end augroup end endif @@ -827,6 +827,18 @@ au FileType purescript let &l:commentstring='{--%s--}' augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-compiler') == -1 + augroup filetypedetect + " python-compiler, from python.vim in aliev/vim-compiler-python +" Vim compiler file +" Compiler: Unit testing tool for Python +" Maintainer: Ali Aliev <ali@aliev.me> +" Last Change: 2015 Nov 2 + +autocmd FileType python compiler python + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'qml') == -1 augroup filetypedetect " qml, from qml.vim in peterhoeg/vim-qml |