summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Lyng Johansen <seblyng98@gmail.com>2023-04-12 19:42:40 +0200
committerGitHub <noreply@github.com>2023-04-12 13:42:40 -0400
commit9451e1db7171cf8992c448cdccb9da3a5fb7167b (patch)
tree4626fba5a8117d24fedec33df126e317d89db2e6
parent7cecf4fcb1d8ecf577f6ba7422fdec091adbc38e (diff)
fix: use :TSInstall on build with nvim-treesitter (#261)
-rw-r--r--init.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 1296085..56975a6 100644
--- a/init.lua
+++ b/init.lua
@@ -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