diff options
author | LostNeophyte <[email protected]> | 2022-11-28 19:11:06 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-11-28 19:11:06 +0100 |
commit | fb7da7bc788849ae0b735eeec521ea677c35de1f (patch) | |
tree | 2ee2866dfbe179e596388261bfd1932884d21a1b /lua/lvim/plugins.lua | |
parent | 9347abc1d4d30867fcc6b30a796d1cdb761f4840 (diff) |
perf: handle big files better (#3449)
fixes https://github.com/LunarVim/LunarVim/issues/3393
Diffstat (limited to 'lua/lvim/plugins.lua')
-rw-r--r-- | lua/lvim/plugins.lua | 10 |
1 files changed, 10 insertions, 0 deletions
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") |