From fb7da7bc788849ae0b735eeec521ea677c35de1f Mon Sep 17 00:00:00 2001 From: LostNeophyte Date: Mon, 28 Nov 2022 19:11:06 +0100 Subject: perf: handle big files better (#3449) fixes https://github.com/LunarVim/LunarVim/issues/3393 --- lua/lvim/plugins.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lua/lvim/plugins.lua') diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index 5b093846..6f68f1c4 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -281,6 +281,16 @@ local core_plugins = { end, disable = lvim.colorscheme ~= "onedarker", }, + + { + "lunarvim/bigfile.nvim", + config = function() + pcall(function() + require("bigfile").config(lvim.builtin.bigfile.config) + end) + end, + disable = not lvim.builtin.bigfile.active, + }, } local default_snapshot_path = join_paths(get_lvim_base_dir(), "snapshots", "default.json") -- cgit v1.2.3