feat(nvim): adapt diagnostics icons to terminal font

This commit is contained in:
Michael Mandl 2023-07-28 09:04:45 +02:00
parent 2bb429c70a
commit e4aa818905
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -172,7 +172,7 @@ vim.diagnostic.config({
})
-- setup diagnostics signs
local diagnostics_signs = { Error = "", Want = "", Hint = "", Info = "" }
local diagnostics_signs = { Error = "", Warn = "", Hint = "", Info = "" }
for type, icon in pairs(diagnostics_signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })