This commit is contained in:
asep komarudin 2023-02-20 22:36:43 +07:00
parent 87fa670e51
commit 9a27adbbcb

View file

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