fix: following a [hyperlink](https://.....) will now not result in an

error but search for `hyperlink`. Support for external links is planned.
This commit is contained in:
Rene Schallner
2021-12-09 22:39:33 +01:00
parent 1610d5bfd1
commit 8c03fe4601

View File

@@ -68,9 +68,16 @@ M.Cfg = {
-- tag notation: '#tag', ':tag:', 'yaml-bare' -- tag notation: '#tag', ':tag:', 'yaml-bare'
tag_notation = "#tag", tag_notation = "#tag",
-- command palette theme: dropdown (window) or ivy (bottom panel)
command_palette_theme = "ivy",
} }
local function file_exists(fname) local function file_exists(fname)
if fname == nil then
return false
end
local f = io.open(fname, "r") local f = io.open(fname, "r")
if f ~= nil then if f ~= nil then
io.close(f) io.close(f)