From dbe9bc927f1114dd447e4ed58a5d23fb1f989246 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 19 Nov 2017 21:34:38 +0100 Subject: Change nix provider, closes #244 --- ftdetect/polyglot.vim | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'ftdetect') 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 +" 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 -- cgit v1.2.3