simplify treesitter config
This commit is contained in:
parent
d27da86f40
commit
144de1986c
|
@ -58,16 +58,16 @@ return {
|
||||||
opts = {
|
opts = {
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
ensure_installed = ensure,
|
ensure_installed = {},
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
},
|
},
|
||||||
config = function (this, opts)
|
--config = function (this, opts)
|
||||||
require(this.name .. ".configs").setup(opts);
|
-- require(this.name .. ".configs").setup(opts);
|
||||||
if custom.proxy_url ~= "" then
|
-- if custom.proxy_url ~= "" then
|
||||||
require(this.name .. ".install").command_extra_args = {
|
-- require(this.name .. ".install").command_extra_args = {
|
||||||
curl = { "--proxy", custom.proxy_url }
|
-- curl = { "--proxy", custom.proxy_url }
|
||||||
}
|
-- }
|
||||||
end
|
-- end
|
||||||
end
|
--end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue