Skip to content

Commit

Permalink
docs(summary): remove old type def (#1567)
Browse files Browse the repository at this point in the history
  • Loading branch information
krmpotic committed Sep 2, 2024
1 parent 85f15f0 commit d5965ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/neorg/core/callbacks.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- @brief [[
--- Defines user callbacks - ways for the user to directly interact with Neorg and respon on certain events.
--- Defines user callbacks - ways for the user to directly interact with Neorg and respond on certain events.
--- @brief ]]

--- @module "neorg.core.modules"
Expand Down
4 changes: 3 additions & 1 deletion lua/neorg/modules/core/summary/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,9 @@ module.config.public = {
-- - "default" - read the metadata to categorize and annotate files. Files
-- without metadata will use the top level heading as the title. If no headings are present, the filename will be used.
-- - "by_path" - Similar to "default" but uses the capitalized name of the folder containing a *.norg file as category.
---@type string|fun(files: PathlibPath[], ws_root: PathlibPath, heading_level: number?, include_categories: string[]?): string[]?
-- - A custom function with the signature:
-- `fun(files: PathlibPath[], ws_root: PathlibPath, heading_level: number?, include_categories: string[]?): string[]?`.
-- Returning a list of lines that make up the summary
strategy = "default",
}

Expand Down

0 comments on commit d5965ef

Please sign in to comment.