Make all plugin configs return a function

Simplifies writing the `config = ...` field for each plugin
This commit is contained in:
2023-09-25 16:08:06 +02:00
parent 7739ec5591
commit ac35b77c87
33 changed files with 747 additions and 618 deletions
+10 -6
View File
@@ -16,9 +16,13 @@
-- https://github.com/famiu/bufdelete.nvim
vim.keymap.set(
"n",
"<C-w>q",
vim.cmd.Bwipeout,
{ remap = false, silent = true, }
)
local function setup()
vim.keymap.set(
"n",
"<C-w>q",
vim.cmd.Bwipeout,
{ remap = false, silent = true, }
)
end
return setup