cleanup post-merge pr

This commit is contained in:
Rene Schallner
2021-12-01 17:13:29 +01:00
parent f92fe47e22
commit 4fcfe3974e

View File

@@ -582,7 +582,6 @@ end
local function PreviewImg(_) local function PreviewImg(_)
vim.cmd("normal yi)") vim.cmd("normal yi)")
local fname = vim.fn.getreg('"0') local fname = vim.fn.getreg('"0')
fname = fname:gsub("^(%[)(.+)(%])$", "%2")
-- check if fname exists anywhere -- check if fname exists anywhere
local fexists = file_exists(M.Cfg.home .. "/" .. fname) local fexists = file_exists(M.Cfg.home .. "/" .. fname)