This commit is contained in:
asep komarudin 2023-02-19 14:00:26 +07:00
parent 69d848dece
commit 1848afb610
2 changed files with 6 additions and 2 deletions

View file

@ -40,7 +40,7 @@
"nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "a0f89563ba36b3bacd62cf967b46beb4c2c29e52" },
"nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" },
"nvim-web-devicons": { "branch": "master", "commit": "b33064c9a2d52b0f40021595b7f78a48b39139ba" },
"nvim-web-devicons": { "branch": "master", "commit": "5f79ca760e1f95fee55f3553f040a51dc1c4d953" },
"plenary.nvim": { "branch": "master", "commit": "9d81624fbcedd3dd43b38d7e13a1e7b3f873d8cd" },
"smart-splits.nvim": { "branch": "master", "commit": "b38431f1f68bc43d6bf9d1edb21c2bcb06b1197c" },
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },

View file

@ -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")