summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-02-02 21:54:55 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-02-02 21:54:55 +0100
commit7404993f0c385b4a7d979a99461d067ec06fd940 (patch)
treeffd5f464ae3a82996b37b573e22617ad8287ab46 /ftdetect
parentb7e2b0cad32cb2e806efd5c03984f098a1ad8c55 (diff)
downloadvim-polyglot-7404993f0c385b4a7d979a99461d067ec06fd940.tar.gz
vim-polyglot-7404993f0c385b4a7d979a99461d067ec06fd940.zip
Add i3 config support, closes #168
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index ea6e0fbc..428c14db 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -346,6 +346,16 @@ autocmd BufNewFile,BufRead *.hx setf haxe
endif
+" ftdetect/i3.vim
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'i3') == -1
+
+augroup i3_ftdetect
+ au!
+ au BufRead,BufNewFile *i3/config set ft=i3
+augroup END
+
+endif
+
" ftdetect/jasmine.vim
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jasmine') == -1