perf: handle big files better (#3449)

fixes https://github.com/LunarVim/LunarVim/issues/3393
This commit is contained in:
LostNeophyte 2022-11-28 19:11:06 +01:00 committed by GitHub
parent 9347abc1d4
commit fb7da7bc78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 34 deletions

View file

@ -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")