nvim: enable treesitter only when cli installed
Some checks failed
Build / Lint Code Base (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
Felix Buehler 2026-01-19 20:24:31 +01:00
parent 48ef0a52d1
commit 73f06db5d7
2 changed files with 7 additions and 1 deletions

View file

@ -2,6 +2,9 @@ return {
'nvim-treesitter/nvim-treesitter',
lazy = false,
build = ':TSUpdate',
cond = function()
return vim.fn.executable 'tree-sitter' == 1
end,
config = function()
require("config.treesitter")
end,