diff --git a/dots/.config/nvim/lua/plugins/configs/heirline.lua b/dots/.config/nvim/lua/plugins/configs/heirline.lua index 15a6eee6..d2bdc7b3 100644 --- a/dots/.config/nvim/lua/plugins/configs/heirline.lua +++ b/dots/.config/nvim/lua/plugins/configs/heirline.lua @@ -657,7 +657,10 @@ return { }, { provider = function() - local ft = vim.bo.filetype or "[No Filetype]" + local ft = vim.bo.filetype + if ft == nil or ft == "" then + ft = "[No Filetype]" + end return ft .. " " end, hl = {