diff options
Diffstat (limited to '')
-rw-r--r-- | lua/conf/plugins/treesitter.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/conf/plugins/treesitter.lua b/lua/conf/plugins/treesitter.lua index cad715e..3a708a0 100644 --- a/lua/conf/plugins/treesitter.lua +++ b/lua/conf/plugins/treesitter.lua @@ -50,6 +50,7 @@ return { 'nvim-treesitter/nvim-treesitter', end -- disable in big files + -- TODO: update before nvim 1.0 when vim.loop is removed local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf)) if ok and stats and stats.size > (1024 * 100 * 10) --[[1MB]] then return true |