mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-21 19:32:31 -05:00
Use 4 spaces per tab in lua files
This commit is contained in:
parent
df2b91279b
commit
53ef5d112e
1 changed files with 21 additions and 17 deletions
|
@ -1,8 +1,11 @@
|
|||
if (vim.g.enabletreesitter ~= nill and vim.g.enabletreesitter == 1) then
|
||||
if (vim.g.treesitterparserdir ~= nill) then
|
||||
local parser_dir = vim.g.treesitterparserdir
|
||||
if (vim.g.enabletreesitter ~= nill) then
|
||||
if (vim.g.enabletreesitter == 1) then
|
||||
local parser_dir
|
||||
|
||||
if (vim.g.treesitterparserdir == nill) then
|
||||
parser_dir = "~/.config/nvim/treesitter-parsers"
|
||||
else
|
||||
local parser_dir = "~/.config/nvim/treesitter-parsers"
|
||||
parser_dir = vim.g.treesitterparserdir
|
||||
end
|
||||
|
||||
vim.opt.runtimepath:append(parser_dir)
|
||||
|
@ -20,3 +23,4 @@ if (vim.g.enabletreesitter ~= nill and vim.g.enabletreesitter == 1) then
|
|||
}
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue