diff --git a/nvim/.config/nvim/lua/plugins/treesitter.lua b/nvim/.config/nvim/lua/plugins/treesitter.lua index 4a8d412..c8b3b5a 100644 --- a/nvim/.config/nvim/lua/plugins/treesitter.lua +++ b/nvim/.config/nvim/lua/plugins/treesitter.lua @@ -1,6 +1,8 @@ return { 'nvim-treesitter/nvim-treesitter', - build = ':TSUpdate', + build = function() + require("nvim-treesitter.install").update({ with_sync = true })() + end, config = function() local config = require("nvim-treesitter.configs") config.setup({