diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-03-23 12:48:17 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-03-23 12:48:28 +0100 |
commit | 0134940f23eaf2eb4a0c9f0f88e3c1c8a0eed8ba (patch) | |
tree | 812d1014f0a46980e5d530b4524c9fa4f9926b98 /ftdetect | |
parent | 8bb259b1f6329837f471c6df2385f44fef02d2b4 (diff) | |
download | vim-polyglot-0134940f23eaf2eb4a0c9f0f88e3c1c8a0eed8ba.tar.gz vim-polyglot-0134940f23eaf2eb4a0c9f0f88e3c1c8a0eed8ba.zip |
Add sxhkd support, closes #186
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 11 |
1 files changed, 11 insertions, 0 deletions
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 |