From ee3bc020dd0cbafea8e7cde514a5ab7b8b06b47b Mon Sep 17 00:00:00 2001 From: Squibid Date: Tue, 19 Nov 2024 13:38:48 -0600 Subject: add TODO for a future deprecated function --- lua/conf/plugins/treesitter.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua/conf/plugins/treesitter.lua') 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 -- cgit v1.2.1