Updated nvim-treesitter packer installation to properly update parsers

This commit is contained in:
josean-dev 2022-11-11 16:45:42 -04:00
parent 62f9403ed3
commit de7061dd53

View file

@ -88,7 +88,8 @@ return packer.startup(function(use)
use({
"nvim-treesitter/nvim-treesitter",
run = function()
require("nvim-treesitter.install").update({ with_sync = true })
local ts_update = require("nvim-treesitter.install").update({ with_sync = true })
ts_update()
end,
})