mirror of
https://github.com/Ascyii/telekasten.nvim.git
synced 2026-01-01 06:14:23 -05:00
cleanup post-merge pr
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user