Make plugin specs more uniform
This commit is contained in:
parent
0ced314c90
commit
4004dc5df6
13 changed files with 55 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue