summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2018-12-26 11:19:25 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2018-12-26 11:19:25 +0100
commit678fc65514747c19f2a7c28880a428d8ae2e0505 (patch)
treef73593a9a56531b8fd19df1c5ed8fd98328e6530 /ftdetect
parentaad3df96e795b314d31171fea54b7455076d1d7b (diff)
downloadvim-polyglot-678fc65514747c19f2a7c28880a428d8ae2e0505.tar.gz
vim-polyglot-678fc65514747c19f2a7c28880a428d8ae2e0505.zip
Change i3 provider
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim22
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