Make plugin specs more uniform

This commit is contained in:
Marko Korhonen 2023-11-18 02:54:35 +02:00
parent f44e0b3274
commit e810234430
13 changed files with 55 additions and 40 deletions

View file

@ -9,9 +9,9 @@ return {
"imports",
},
},
config = function(spec)
config = function(_, opts)
local ufo = require("ufo")
ufo.setup(spec.opts)
ufo.setup(opts)
-- Using ufo, need to remap `zR` and `zM`. If Neovim is 0.6.1, remap yourself
local keymap = vim.keymap