This commit is contained in:
asep komarudin 2023-02-20 09:50:58 +07:00
parent 3a098b0f7d
commit 2d90e0f1c8

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()
require("user.treesitter") require("user.treesitter")
end, end,