summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-11-19 21:34:38 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-11-19 21:34:38 +0100
commitdbe9bc927f1114dd447e4ed58a5d23fb1f989246 (patch)
tree474b3b98b41226b8c435e9f7b237515ba090fe19 /ftdetect/polyglot.vim
parentd219055bc845253eff2b27d30a23b11b97b7ee9d (diff)
downloadvim-polyglot-dbe9bc927f1114dd447e4ed58a5d23fb1f989246.tar.gz
vim-polyglot-dbe9bc927f1114dd447e4ed58a5d23fb1f989246.zip
Change nix provider, closes #244
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r--ftdetect/polyglot.vim10
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