We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0693acc commit 1243952Copy full SHA for 1243952
lua/obsidian/note.lua
@@ -533,14 +533,10 @@ end
533
Note.from_file = function(path, opts)
534
assert(path, "note path cannot be nil")
535
path = tostring(Path.new(path):resolve { strict = true })
536
-<<<<<<< HEAD
537
local file = assert(io.open(path, "r"), "failed to open file")
538
local note = Note.from_lines(file:lines(), path, opts)
539
file:close()
540
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!)
544
end
545
546
--- Initialize a note from a buffer.
0 commit comments