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
+15 -9
View File
@@ -1,11 +1,17 @@
-- https://github.com/bluz71/vim-moonfly-colors
local function setup()
vim.g.moonflyNormalFloat = true
vim.g.moonflyCursorColor = true
vim.g.moonflyWinSeparator = 2
vim.cmd.colorscheme("moonfly")
end
return setup
---@type LazyPluginSpec
return {
"bluz71/vim-moonfly-colors",
priority = 1000,
lazy = false,
name = "moonfly",
init = function()
vim.g.moonflyNormalFloat = true
vim.g.moonflyCursorColor = true
vim.g.moonflyWinSeparator = 2
end,
config = function()
vim.cmd.colorscheme("moonfly")
end,
}