Use 4 spaces per tab in lua files

This commit is contained in:
Kevin MacMartin 2024-03-01 22:30:11 -05:00
parent df2b91279b
commit 53ef5d112e

View file

@ -1,8 +1,11 @@
if (vim.g.enabletreesitter ~= nill and vim.g.enabletreesitter == 1) then if (vim.g.enabletreesitter ~= nill) then
if (vim.g.treesitterparserdir ~= nill) then if (vim.g.enabletreesitter == 1) then
local parser_dir = vim.g.treesitterparserdir local parser_dir
if (vim.g.treesitterparserdir == nill) then
parser_dir = "~/.config/nvim/treesitter-parsers"
else else
local parser_dir = "~/.config/nvim/treesitter-parsers" parser_dir = vim.g.treesitterparserdir
end end
vim.opt.runtimepath:append(parser_dir) vim.opt.runtimepath:append(parser_dir)
@ -19,4 +22,5 @@ if (vim.g.enabletreesitter ~= nill and vim.g.enabletreesitter == 1) then
additional_vim_regex_highlighting = false, additional_vim_regex_highlighting = false,
} }
} }
end
end end