diff options
author | Cody Hiar <cody@hiar.ca> | 2022-08-15 09:38:25 -0600 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2022-08-15 09:38:39 -0600 |
commit | af8606e7ceb49e234b6e80b9f095d762794a43e6 (patch) | |
tree | b89026ded4c0585dbd564c44553c4f4784af6b03 | |
parent | c6fdeb049dd14737156a32028d8348ec0461cc16 (diff) |
Set indent for nix files
-rw-r--r-- | init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |