diff options
Diffstat (limited to 'lua/plugins')
| -rw-r--r-- | lua/plugins/treesitter.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 4284957..1624b62 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -2,9 +2,10 @@ vim.pack.add({ { src = "https://github.com/nvim-treesitter/nvim-treesitter" }, }) ---@diagnostic disable: missing-fields -require 'nvim-treesitter'.setup {} - -require 'nvim-treesitter'.install { 'go', 'nix', 'lua', 'json', 'html', 'markdown_inline', 'python', 'bash', 'zsh', 'just', 'yaml' } +require 'nvim-treesitter'.setup { + ensure_installed = { 'go', 'nix', 'lua', 'json', 'html', 'markdown_inline', 'python', 'bash', 'zsh', 'just', 'yaml' }, + auto_install = false, +} -- run tsupdate when updating nvim-treesitter vim.api.nvim_create_autocmd('PackChanged', { |
