From 5be8d26143d55a3f73bad774c80feee6d9d98af0 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 9 Oct 2026 13:07:22 -0600 Subject: fix: treesitter --- lua/plugins/lspconfig.lua | 3 ++- lua/plugins/treesitter.lua | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index aead9fb..8487c2e 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -83,7 +83,8 @@ return { 'pyright', 'lua-language-server', 'shfmt', - 'bash-language-server' + 'bash-language-server', + 'tree-sitter-cli', -- 'shellcheck', -- install manually on system -- 'gdtoolkit', -- install manually (at least for windows) }, diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 6ad61a1..0bb506e 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -88,6 +88,8 @@ return { 'nvim-treesitter/nvim-treesitter', branch = 'main', lazy = false, + -- mason puts the `tree-sitter` cli (needed to build parsers) on PATH + dependencies = { 'williamboman/mason.nvim' }, build = ':TSUpdate', config = function() require('nvim-treesitter').install(langs) -- cgit v1.3.1