You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- Defines both a public and private configuration for a Neorg module.
17
58
--- Public configurations may be tweaked by the user from the `neorg.setup()` function,
18
59
--- whereas private configurations are for internal use only.
@@ -41,7 +82,7 @@ local utils = require("neorg.core.utils")
41
82
--- @fieldpathstring The full path to the module (a more verbose version of `name`). May be used in lua's `require()` statements.
42
83
--- @fieldpublicprivate? table A convenience table to place all of your private variables that you don't want to expose.
43
84
--- @fieldpublicpublic? neorg.module.public Every module can expose any set of information it sees fit through this field. All functions and variables declared in this table will be visiable to any other module loaded.
44
-
--- @fieldrequired? table<string, neorg.module.public> Contains the public tables of all modules that were required via the `requires` array provided in the `setup()` function of this module.
85
+
--- @fieldrequired? neorg.module.resolver Contains the public tables of all modules that were required via the `requires` array provided in the `setup()` function of this module.
45
86
--- @fieldsetup? fun(): neorg.module.setup? Function that is invoked before any other loading occurs. Should perform preliminary startup tasks.
46
87
--- @fieldreplaced? boolean If `true`, this means the module is a replacement for a core module. This flag is set automatically whenever `setup().replaces` is set to a value.
47
88
--- @fieldon_eventfun(event: neorg.event) A callback that is invoked any time an event the module has subscribed to has fired.
0 commit comments