Add nix support, closes #97

This commit is contained in:
Adam Stankiewicz
2015-12-17 10:47:00 +01:00
parent f025e2778a
commit 7cbd509b6c
5 changed files with 154 additions and 0 deletions

17
ftplugin/nix.vim Normal file
View File

@@ -0,0 +1,17 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nix') == -1
if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin=1
setlocal comments=
setlocal commentstring=#\ %s
" Nixpkgs indent settings
setlocal tabstop=2
setlocal softtabstop=2
setlocal shiftwidth=2
setlocal expandtab
endif