feat(filetypes): Set nix files to use 2 spaces for indentation
This commit is contained in:
parent
337b67c7a4
commit
e1ec30f328
|
@ -12,5 +12,11 @@ vim.filetype.add({
|
||||||
end,
|
end,
|
||||||
idr = "idris2",
|
idr = "idris2",
|
||||||
wgsl = "wgsl",
|
wgsl = "wgsl",
|
||||||
|
nix = function(_, bufnr)
|
||||||
|
vim.bo[bufnr].shiftwidth = 2
|
||||||
|
vim.bo[bufnr].tabstop = 2
|
||||||
|
vim.bo[bufnr].expandtab = true
|
||||||
|
return "nix"
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue