diff options
author | Squibid <me@zacharyscheiman.com> | 2025-05-18 22:32:28 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-05-18 22:33:36 -0400 |
commit | f9311db805dc29ed96b009c836231cd87b43b861 (patch) | |
tree | 1f84fe270ac110b0122ce1fb6ea39bc67c4957c2 /lua/conf/plugins/treesitter.lua | |
parent | d0155fcc7c734c1e3506e59cbb17ec3fb2a4b541 (diff) | |
download | nvim-f9311db805dc29ed96b009c836231cd87b43b861.tar.gz nvim-f9311db805dc29ed96b009c836231cd87b43b861.tar.bz2 nvim-f9311db805dc29ed96b009c836231cd87b43b861.zip |
try and make everything confined to 80chars
Diffstat (limited to 'lua/conf/plugins/treesitter.lua')
-rw-r--r-- | lua/conf/plugins/treesitter.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/conf/plugins/treesitter.lua b/lua/conf/plugins/treesitter.lua index e473de4..4354953 100644 --- a/lua/conf/plugins/treesitter.lua +++ b/lua/conf/plugins/treesitter.lua @@ -48,7 +48,8 @@ return { "nvim-treesitter/nvim-treesitter", -- 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)) + 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 end |