diff --git a/lua/plugin_configs/_treesitter.lua b/lua/plugin_configs/_treesitter.lua index 03c9703..a3e3c24 100644 --- a/lua/plugin_configs/_treesitter.lua +++ b/lua/plugin_configs/_treesitter.lua @@ -6,16 +6,7 @@ require 'nvim-treesitter.configs'.setup { highlight = { enable = true, - -- disable = function(_, buf) - -- local max_filesize = 100 * 1024 - -- local ok, stats = pcall(vim.loop.fs_stat, - -- vim.api.nvim_buf_get_name(buf) - -- ) - -- if ok and stats and stats.size > max_filesize then - -- return true - -- end - -- end, - additional_vim_regex_highlighting = false, + additional_vim_regex_highlighting = true, }, indent = { enable = true,