From 7404993f0c385b4a7d979a99461d067ec06fd940 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 2 Feb 2017 21:54:55 +0100 Subject: Add i3 config support, closes #168 --- ftdetect/polyglot.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ftdetect') 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 -- cgit v1.2.3