From 1d744ecdb33bf67611a76a05cf91da4086c96b3f Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Sun, 3 May 2026 16:04:57 +0530 Subject: fixed mistaken bug an automated commit --- lua/plugins/treesitter.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lua/plugins') 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', { -- cgit v1.1