diff options
| author | DemonKingSwarn <rockingswarn@gmail.com> | 2026-05-03 16:04:57 +0530 |
|---|---|---|
| committer | DemonKingSwarn <rockingswarn@gmail.com> | 2026-05-03 16:04:57 +0530 |
| commit | 1d744ecdb33bf67611a76a05cf91da4086c96b3f (patch) | |
| tree | b2a4e2411811fc532937a74470d73c397c846ec1 /lua/plugins | |
| parent | 42aa4723f07dccd5652b105bf6ee666ad29517ed (diff) | |
| download | nvim-1d744ecdb33bf67611a76a05cf91da4086c96b3f.zip nvim-1d744ecdb33bf67611a76a05cf91da4086c96b3f.tar.gz | |
fixed mistaken bug
an automated commit
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', { |
