Skip to content

Commit 1243952

Browse files
author
neo451
committed
fix: note artifact
1 parent 0693acc commit 1243952

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lua/obsidian/note.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -533,14 +533,10 @@ end
533533
Note.from_file = function(path, opts)
534534
assert(path, "note path cannot be nil")
535535
path = tostring(Path.new(path):resolve { strict = true })
536-
<<<<<<< HEAD
537536
local file = assert(io.open(path, "r"), "failed to open file")
538537
local note = Note.from_lines(file:lines(), path, opts)
539538
file:close()
540539
return note
541-
=======
542-
return Note.from_lines(io.lines(path), path, opts)
543-
>>>>>>> 3b5ee25 (feat: fuzzy match with vim.fn.matchfuzzy, remove completion module!)
544540
end
545541

546542
--- Initialize a note from a buffer.

0 commit comments

Comments
 (0)