feat(neovim): use nerdfonts & avoid emojis that break neovim

Some emojis break rendering in neovim/kitty due to width issues.
Can potentially be fixed by switching to a different terminal emulator
but I haven't found one matching my other needs yet.
This commit is contained in:
Felix Schröter 2022-03-30 00:07:31 +02:00
parent f59ae17641
commit 5bc58270bb
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 19 additions and 9 deletions

View file

@ -7,19 +7,19 @@ function LspStatus()
local hints = #vim.diagnostic.get(0, { severity = vim.diagnostic.severity.HINT })
if (errors > 0 or warnings > 0 or infos > 0 or hints > 0) then
if errors > 0 then
sl = sl .. "E" .. errors
sl = sl .. "" .. errors
end
if warnings > 0 then
sl = sl .. " W" .. warnings
sl = sl .. " " .. warnings
end
if infos > 0 then
sl = sl .. " I" .. infos
sl = sl .. " " .. infos
end
if hints > 0 then
sl = sl .. " H" .. hints
sl = sl .. " " .. hints
end
else
sl = sl .. "🗸"
sl = sl .. ""
end
end
return sl