mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
fix(plugins): call bigfile setup correctly (#4567)
This commit is contained in:
parent
d15c8d77d4
commit
64764a2656
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,6 @@ Log.levels = {
|
||||||
WARN = 4,
|
WARN = 4,
|
||||||
ERROR = 5,
|
ERROR = 5,
|
||||||
}
|
}
|
||||||
vim.tbl_add_reverse_lookup(Log.levels)
|
|
||||||
|
|
||||||
local notify_opts = {}
|
local notify_opts = {}
|
||||||
local log_notify_as_notification = false
|
local log_notify_as_notification = false
|
||||||
|
|
|
@ -350,10 +350,11 @@ local core_plugins = {
|
||||||
"lunarvim/bigfile.nvim",
|
"lunarvim/bigfile.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
pcall(function()
|
pcall(function()
|
||||||
require("bigfile").config(lvim.builtin.bigfile.config)
|
require("bigfile").setup(lvim.builtin.bigfile.config)
|
||||||
end)
|
end)
|
||||||
end,
|
end,
|
||||||
enabled = lvim.builtin.bigfile.active,
|
enabled = lvim.builtin.bigfile.active,
|
||||||
|
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||||
event = { "FileReadPre", "BufReadPre", "User FileOpened" },
|
event = { "FileReadPre", "BufReadPre", "User FileOpened" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue