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 -8
View File
@@ -1,9 +1,13 @@
-- https://github.com/nvim-orgmode/orgmode
local function setup()
local orgmode = require("orgmode")
orgmode.setup({
org_agenda_files = { "~/Documents/org/**/*", },
---@type LazyPluginSpec
return {
"nvim-orgmode/orgmode",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
opts = {
org_agenda_files = { "~/Documents/org/**/*" },
org_default_notes_file = "~/Documents/org/notes.org",
org_todo_keywords = {
"TODO(t)",
@@ -28,7 +32,5 @@ local function setup()
org_agenda_skip_scheduled_if_done = true,
org_agenda_skip_deadline_if_done = true,
})
end
return setup
},
}