Make plugin specs more uniform

This commit is contained in:
Marko Korhonen 2023-11-18 02:54:35 +02:00
parent 0ced314c90
commit 4004dc5df6
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
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