From 0134940f23eaf2eb4a0c9f0f88e3c1c8a0eed8ba Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 23 Mar 2017 12:48:17 +0100 Subject: Add sxhkd support, closes #186 --- ftdetect/polyglot.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index a80ec608..4ea31c58 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -937,6 +937,17 @@ endfunction endif +" ftdetect/sxhkdrc.vim +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sxhkd') == -1 + +if &compatible || v:version < 603 + finish +endif + +autocmd BufNewFile,BufRead sxhkdrc,*.sxhkdrc set ft=sxhkdrc + +endif + " ftdetect/systemd.vim if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'systemd') == -1 -- cgit v1.2.3