diff options
Diffstat (limited to 'ftplugin/nix.vim')
-rw-r--r-- | ftplugin/nix.vim | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ftplugin/nix.vim b/ftplugin/nix.vim index 8f3cf812..52c0ee69 100644 --- a/ftplugin/nix.vim +++ b/ftplugin/nix.vim @@ -11,7 +11,12 @@ endif let b:did_ftplugin = 1 -setlocal comments=:# -setlocal commentstring=#\ %s +setlocal + \ comments=:# + \ commentstring=#\ %s + \ shiftwidth=2 + \ softtabstop=2 + \ expandtab + \ iskeyword+=- endif |