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
+9 -5
View File
@@ -16,8 +16,12 @@
-- https://github.com/iamcco/markdown-preview.nvim
vim.g.mkdp_filetypes = { "markdown", }
vim.g.mkdp_port = "9080"
vim.g.mkdp_echo_preview_url = 1
vim.g.mkdp_open_ip = "192.168.2.22"
vim.g.mkdp_open_to_the_world = 1
local function setup()
vim.g.mkdp_filetypes = { "markdown", }
vim.g.mkdp_port = "9080"
vim.g.mkdp_echo_preview_url = 1
vim.g.mkdp_open_ip = "192.168.2.22"
vim.g.mkdp_open_to_the_world = 1
end
return setup