mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
refactor: use LazyVim.opts
This commit is contained in:
parent
58cf6f971b
commit
76f9dbb40c
3 changed files with 3 additions and 7 deletions
|
@ -106,8 +106,7 @@ return {
|
|||
---@param opts PluginLspOpts
|
||||
config = function(_, opts)
|
||||
if LazyVim.has("neoconf.nvim") then
|
||||
local plugin = require("lazy.core.config").spec.plugins["neoconf.nvim"]
|
||||
require("neoconf").setup(require("lazy.core.plugin").values(plugin, "opts", false))
|
||||
require("neoconf").setup(LazyVim.opts("neoconf.nvim"))
|
||||
end
|
||||
|
||||
-- setup autoformat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue