From c27cf51ccf86fa90a6936cce8fc5214f9de53062 Mon Sep 17 00:00:00 2001 From: Ilya Grigoryev Date: Thu, 5 Oct 2023 15:47:26 +0300 Subject: [PATCH] refactor(treesitter): clear comments --- lua/plugin_configs/_treesitter.lua | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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,