mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
update
This commit is contained in:
parent
69d848dece
commit
1848afb610
2 changed files with 6 additions and 2 deletions
|
@ -29,7 +29,11 @@ return {
|
|||
"TSUpdateSync",
|
||||
},
|
||||
build = function()
|
||||
require("nvim-treesitter.install").update({ with_sync = true })()
|
||||
local status_ok, ts = pcall(require, "nvim-treesitter.install")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
ts.update({ with_sync = true })()
|
||||
end,
|
||||
config = function()
|
||||
require("user.treesitter")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue