update tab size for lua and nix

This commit is contained in:
Salar Rahmanian 2024-10-06 23:03:04 -07:00
parent c182511558
commit 2776da83bb

View file

@ -90,7 +90,7 @@ else
-- sets the tab size for json files
vim.api.nvim_create_autocmd("FileType", {
pattern = "json",
pattern = { "json", "lua", "nix" },
callback = function()
vim.bo.tabstop = 2
vim.bo.shiftwidth = 2