update tab size for lua and nix
This commit is contained in:
parent
c182511558
commit
2776da83bb
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue