Make plugin specs more uniform
This commit is contained in:
parent
0ced314c90
commit
4004dc5df6
13 changed files with 55 additions and 40 deletions
|
@ -11,8 +11,8 @@ return {
|
|||
highlight_git = true,
|
||||
},
|
||||
},
|
||||
config = function(spec)
|
||||
require("nvim-tree").setup(spec.opts)
|
||||
config = function(_, opts)
|
||||
require("nvim-tree").setup(opts)
|
||||
|
||||
-- Open/close with alt-o
|
||||
vim.keymap.set("n", "<M-o>", vim.cmd.NvimTreeToggle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue