fix(nvim): ensure heirline FileIcon properly picks up filename

This commit is contained in:
Price Hiller 2023-09-06 23:02:39 -05:00
parent 51b2f3fcfa
commit c832da918b
No known key found for this signature in database

View File

@ -645,6 +645,10 @@ return {
provider = "%=", provider = "%=",
}, },
{ {
init = function(self)
self.filename = vim.api.nvim_buf_get_name(0)
end,
{ {
provider = seps.full.left, provider = seps.full.left,
hl = function() hl = function()