From 5b4ecc05ee9be777fff5c498a7423f99f1553216 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 15 Jun 2024 00:43:14 -0500 Subject: [PATCH] perf(nvim): disable illuminate in large files --- .../price/dots/.config/nvim/lua/plugins/configs/illuminate.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/illuminate.lua b/users/price/dots/.config/nvim/lua/plugins/configs/illuminate.lua index cee8a1f4..af8b3747 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/illuminate.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/illuminate.lua @@ -2,5 +2,8 @@ return { { "RRethy/vim-illuminate", event = { "CursorHold", "BufReadPre", "BufNewFile" }, + config = function() + require("illuminate").configure({ large_file_cutoff = 10000 }) + end, }, }