fix: use :TSInstall on build with nvim-treesitter (#261)

This commit is contained in:
Sebastian Lyng Johansen 2023-04-12 19:42:40 +02:00 committed by GitHub
parent 7cecf4fcb1
commit 9451e1db71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -167,9 +167,7 @@ require('lazy').setup({
dependencies = { dependencies = {
'nvim-treesitter/nvim-treesitter-textobjects', 'nvim-treesitter/nvim-treesitter-textobjects',
}, },
config = function() build = ":TSUpdate",
pcall(require('nvim-treesitter.install').update { with_sync = true })
end,
}, },
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart