feat: borders and no previews for rocker

This commit is contained in:
TJ DeVries
2020-08-28 00:19:10 -04:00
parent d20be453a8
commit f2fcdcb675
4 changed files with 65 additions and 18 deletions

View File

@@ -65,6 +65,11 @@ keymap["enter"] = function(prompt_bufnr, results_bufnr)
return
end
-- TODO: This is not great.
if type(value) == "table" then
value = entry.display
end
local sections = vim.split(value, ":")
local filename = sections[1]