summaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/treesitter.lua')
-rw-r--r--lua/plugins/treesitter.lua2
1 files changed, 2 insertions, 0 deletions
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)