diff options
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index e42ae508..77024a16 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -591,8 +591,14 @@ au BufNewFile,BufRead *.nim,*.nims set filetype=nim augroup END augroup filetypedetect -" nix:spwhitt/vim-nix -autocmd BufNewFile,BufRead *.nix setfiletype nix +" nix:LnL7/vim-nix +" Vim filetype detect +" Language: Nix +" Maintainer: Daiderd Jordan <daiderd@gmail.com> +" URL: https://github.com/LnL7/vim-nix + +au BufRead,BufNewFile *.nix set filetype=nix +au FileType nix setl sw=2 sts=2 et iskeyword+=- augroup END augroup filetypedetect |