Skip to content

Commit 6b2e0f5

Browse files
committed
Fix type of note_id_func
1 parent a0fe470 commit 6b2e0f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/obsidian/config.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ local config = {}
1111
---@field log_level integer
1212
---@field notes_subdir string|?
1313
---@field templates obsidian.config.TemplateOpts
14-
---@field note_id_func (fun(title: string): string)|?
14+
---@field note_id_func (fun(title: string|?): string)|?
1515
---@field follow_url_func fun(url: string)|?
1616
---@field image_name_func (fun(): string)|?
1717
---@field note_frontmatter_func fun(note: obsidian.Note)|?

0 commit comments

Comments
 (0)