feat(lazy): allow for hot loading plugin specs

This commit is contained in:
2024-04-21 03:20:28 +02:00
parent 2e36ef05d9
commit ac1e40bfee
31 changed files with 683 additions and 831 deletions
+10 -10
View File
@@ -1,12 +1,12 @@
-- https://github.com/numToStr/Comment.nvim
local function setup()
require("Comment").setup(
{
--ignore empty lines
ignore = "^$",
}
)
end
return setup
---@type LazyPluginSpec
return {
"numToStr/Comment.nvim",
lazy = true,
event = "VimEnter",
opts = {
--ignore empty lines
ignore = "^$",
},
}