fix(plugins): call bigfile setup correctly (#4567)

This commit is contained in:
kylo252 2024-05-27 10:02:06 +02:00 committed by GitHub
parent d15c8d77d4
commit 64764a2656
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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" },
}, },
} }