fix update for nvim-treesitter

This commit is contained in:
Philipp 2024-06-27 13:50:22 +02:00
parent 0fb3054521
commit 0f277ecfab
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750

View file

@ -1,6 +1,8 @@
return { return {
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate', build = function()
require("nvim-treesitter.install").update({ with_sync = true })()
end,
config = function() config = function()
local config = require("nvim-treesitter.configs") local config = require("nvim-treesitter.configs")
config.setup({ config.setup({