summaryrefslogtreecommitdiffstats
path: root/ftplugin/nix.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/nix.vim')
-rw-r--r--ftplugin/nix.vim9
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