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
+7 -3
View File
@@ -16,6 +16,10 @@
-- https://github.com/windwp/nvim-autopairs
require("nvim-autopairs").setup({
fast_wrap = {},
})
local function setup()
require("nvim-autopairs").setup({
fast_wrap = {},
})
end
return setup