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