Skip to content

Commit

Permalink
fix: crash in lualine component when dense = true
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Feb 2, 2022
1 parent f19e748 commit fb6bbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lualine/components/aerial.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function M:get_status_dense()
false
)

if self.options.icons_enabled then
if self.options.icons_enabled and not vim.tbl_isempty(symbols) then
status = string.format("%s %s", symbols[#symbols].icon, status)
end
return status
Expand Down

0 comments on commit fb6bbaa

Please sign in to comment.