🐛 Bug(treesitter): remove broken conditional

The condition for enabling treesitter caused treesitter-textobject errors whenever lazy.nvim
installs plugins
This commit is contained in:
2025-03-10 22:04:25 -04:00
parent 98d9b6ee7d
commit 191b6ffab2
2 changed files with 0 additions and 8 deletions
-5
View File
@@ -189,11 +189,6 @@ M.neotree = function()
return func.check_global_var('useneotree', true, true)
end
M.treesitter = function()
-- Only load for editable buffers
return vim.bo.buftype == '' and not vim.bo.readonly
end
--- Tabnine conditional options
M.tabnine = function()
return func.check_global_var('aitool', 'tabnine', 'neocodeium')
-3
View File
@@ -12,9 +12,6 @@ return {
{ -- nvim-treesitter
'nvim-treesitter/nvim-treesitter',
opts = require('data.types').treesitter.opts,
lazy = true,
event = 'LazyFile',
cond = require('data.cond').treesitter,
},
{ -- Yanky
'gbprod/yanky.nvim',