diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 3e3b38b..fa5ffac 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -14,10 +14,7 @@ return { opts = require('data.types').treesitter.opts, lazy = true, event = 'LazyFile', - cond = function() - -- Only load for editable buffers - return vim.bo.buftype == '' and not vim.bo.readonly - end, + cond = require('data.cond').treesitter, }, { -- nvim-lspconfig 'neovim/nvim-lspconfig',