diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2016-01-22 09:08:30 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2016-01-22 09:08:30 +0100 |
commit | 2bde381723b9604dccb5b9dbe4588a0251ad8544 (patch) | |
tree | 4249bc219a363482c5f0e184a79eefdddb43783f /ftdetect | |
parent | 61390f58850c34b27d2a28dc14ebd760de152cc9 (diff) | |
download | vim-polyglot-2.7.0.tar.gz vim-polyglot-2.7.0.zip |
Add nim supportv2.7.0
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 521eced7..52b1768d 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -277,6 +277,10 @@ au BufRead,BufNewFile */etc/nginx/* set ft=nginx au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx au BufRead,BufNewFile nginx.conf set ft=nginx endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nim') == -1 + +au BufNewFile,BufRead *.nim set filetype=nim +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nix') == -1 autocmd BufNewFile,BufRead *.nix setfiletype nix |