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

View File

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