diff options
Diffstat (limited to 'dotfiles/vim/ftplugin/nix.lua')
-rw-r--r-- | dotfiles/vim/ftplugin/nix.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dotfiles/vim/ftplugin/nix.lua b/dotfiles/vim/ftplugin/nix.lua new file mode 100644 index 0000000..7401054 --- /dev/null +++ b/dotfiles/vim/ftplugin/nix.lua | |||
@@ -0,0 +1,6 @@ | |||
1 | vim.bo.expandtab = true | ||
2 | vim.bo.shiftwidth = 2 | ||
3 | vim.bo.softtabstop = 2 | ||
4 | |||
5 | vim.opt_local.comments = { ":#", "s1:/*", "ex:*/", } | ||
6 | vim.bo.commentstring = "# %s" | ||