Closed JanValiska closed 3 years ago
I printed oldfiles using print(vim.inspect(oldfiles))
and what I can say is that in the history there is one non-text(binary) file that I accidentally opened yesterday. Maybe it is needed to handle binary files in the history separately. I suppose that there is missing icon for binary files.
So it looks like problem aren't binary files but files without extension. Since you are matching filename fn:match("^.+(%..+)$"):sub(2)
and supposing that there is always match.
Something like this:
local match = fn:match("^.+(%..+)$")
local ext = ''
if match ~= nil then
ext = match:sub(2)
end
solves issue and uses default web-dev icon for files without extension.
hmm i fixed this already but it got clobbered somehow. i will push a fix for this
Hi,
when I configure alpha to use startify theme:
I get error on startup:
Any idea how to solve? Thanks