aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 68233bc..cc0491e 100644
--- a/init.lua
+++ b/init.lua
@@ -33,6 +33,9 @@ vim.g.mapleader = ' '
vim.o.expandtab = true
vim.o.tabstop = 4
vim.o.shiftwidth = 0
+vim.cmd [[
+autocmd Filetype nix setlocal ts=2 sw=2 sts=0 expandtab
+]]
vim.o.relativenumber = true
-- Distable word wrap
vim.o.wrap = false