Change i3 provider

This commit is contained in:
Adam Stankiewicz
2018-12-26 11:19:25 +01:00
parent aad3df96e7
commit 678fc65514
8 changed files with 358 additions and 146 deletions

View File

@@ -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