Skip to content

Commit d818db8

Browse files
author
neo451
committed
fix: usage in follow_link
1 parent c4a775e commit d818db8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/obsidian/lsp/handlers/_definition.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ local function create_new_note(location, name)
4747
aliases = {}
4848
else
4949
aliases = { name }
50-
id = location
5150
end
51+
id = location
5252

53-
local note = Note.create { title = name, id = id, aliases = aliases }
53+
local note = Note.create { id = id, aliases = aliases }
5454
return note_to_location(note)
5555
else
5656
return obsidian.log.warn "Aborted"

0 commit comments

Comments
 (0)