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
Copy file name to clipboardexpand all lines: lua/neorg/modules/core/esupports/hop/module.lua
+4-4
Original file line number
Diff line number
Diff line change
@@ -61,11 +61,11 @@ end
61
61
---@classcore.esupports.hop
62
62
module.public= {
63
63
--- Follow link from a specific node
64
-
---@paramnodeuserdata
64
+
---@paramnodetable
65
65
---@paramopen_modestring|nil if not nil, will open a new split with the split mode defined (vsplitr...) or new tab (mode="tab") or with external app (mode="external")
66
66
---@paramparsed_linktable a table of link information gathered from parse_link()
Copy file name to clipboardexpand all lines: lua/neorg/modules/core/highlights/module.lua
+1-1
Original file line number
Diff line number
Diff line change
@@ -449,7 +449,7 @@ module.public = {
449
449
450
450
--- Recursively descends down the highlight configuration and applies every highlight accordingly
451
451
---@paramhighlightstable #The table of highlights to descend down
452
-
---@paramcallbackany #(function(hl_name, highlight, prefix) -> bool) - a callback function to be invoked for every highlight. If it returns true then we should recurse down the table tree further ---@diagnosticdisable-line -- TODO: typeerrorworkaround <pysan3>
452
+
---@paramcallbackfun(hl_name: string, highlight: table, prefix: string): boolean? #A callback function to be invoked for every highlight. If it returns true then we should recurse down the table tree further ---@diagnosticdisable-line -- TODO: typeerrorworkaround <pysan3>
453
453
---@paramprefixstring #Should be only used by the function itself, acts as a "savestate" so the function can keep track of what path it has descended down
--- Like register_keybind(), except registers a batch of them
149
149
---@parammodule_namestring #The name of the module that owns the keybind. Make sure it's an absolute path.
150
-
---@paramnamesany #list of strings - a list of strings detailing names of the keybinds. The module_name will be prepended to each one to form a unique name. ---@diagnosticdisable-line -- TODO: typeerrorworkaround <pysan3>
150
+
---@paramnamesstring[] #A list of strings detailing names of the keybinds. The module_name will be prepended to each one to form a unique name.
151
151
register_keybinds=function(module_name, names)
152
152
-- Loop through each name from the names argument
153
153
for_, nameinipairs(names) do
@@ -296,8 +296,9 @@ module.public = {
296
296
297
297
--- An advanced wrapper around the map() function, maps several keys if the current neorg mode is the desired one
298
298
---@parammodestring #The neorg mode to bind the keys on
---@paramoptsany #table) - the same parameters that should be passed into vim.keymap.set('s opts parameter ---@diagnosticdisable-line -- TODO: typeerrorworkaround <pysan3>
---@paramoptsany #table) - the same parameters that should be passed into vim.keymap.set('s opts parameter ---@diagnosticdisable-line -- TODO: typeerrorworkaround <pysan3>
--- Defines a custom completion function to use for core.neorgcmd.
197
-
---@paramcallbackany #(function) - the same function format as you would receive by being called by :command -completion=customlist,v:lua.callback Neorg ---@diagnosticdisable-line -- TODO: typeerrorworkaround <pysan3>
196
+
--- Defines a custom completion function to use for `core.neorgcmd`.
197
+
---@paramcallbackfunction The same function format as you would receive by being called by `:command -completion=customlist,v:lua.callback Neorg`.
0 commit comments