This commit is contained in:
asep komarudin 2023-02-20 10:02:40 +07:00
parent 2d90e0f1c8
commit aa1e7ce0fc

View file

@ -28,14 +28,18 @@ return {
"TSUpdate",
"TSUpdateSync",
},
-- build = function()
-- local status_ok, ts = pcall(require, "nvim-treesitter.install")
-- if not status_ok then
-- return
-- end
-- ts.update({ with_sync = true })()
-- end,
build = function()
local status_ok, ts = pcall(require, "nvim-treesitter.install")
if not status_ok then
return
end
ts.update({ with_sync = true })()
end,
config = function()
local status_ok, _ = pcall(require, "nvim-treesitter")
if not status_ok then
return
end
require("user.treesitter")
end,
},