Skip to content

Commit 6f7f55e

Browse files
author
Sebastian Lyng Johansen
authored
fix: use :TSInstall on build with nvim-treesitter (nvim-lua#261)
1 parent 0818fa3 commit 6f7f55e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

init.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@ require('lazy').setup({
167167
dependencies = {
168168
'nvim-treesitter/nvim-treesitter-textobjects',
169169
},
170-
config = function()
171-
pcall(require('nvim-treesitter.install').update { with_sync = true })
172-
end,
170+
build = ":TSUpdate",
173171
},
174172

175173
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart

0 commit comments

Comments
 (0)