Skip to content

Commit

Permalink
fix: use :TSInstall on build with nvim-treesitter (nvim-lua#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Lyng Johansen authored and cche committed Jul 6, 2023
1 parent fbd13d9 commit c9280b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9280b6

Please sign in to comment.