fix(nvim): ensure heirline FileIcon properly picks up filename
This commit is contained in:
parent
51b2f3fcfa
commit
c832da918b
@ -645,6 +645,10 @@ return {
|
||||
provider = "%=",
|
||||
},
|
||||
{
|
||||
init = function(self)
|
||||
self.filename = vim.api.nvim_buf_get_name(0)
|
||||
end,
|
||||
|
||||
{
|
||||
provider = seps.full.left,
|
||||
hl = function()
|
||||
@ -652,7 +656,7 @@ return {
|
||||
end,
|
||||
},
|
||||
{
|
||||
provider = function ()
|
||||
provider = function()
|
||||
local ft = vim.bo.filetype or "[No Filetype]"
|
||||
return ft .. " "
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user