feat(nvim): adapt diagnostics icons to terminal font
parent
2bb429c70a
commit
e4aa818905
|
@ -172,7 +172,7 @@ vim.diagnostic.config({
|
||||||
})
|
})
|
||||||
|
|
||||||
-- setup diagnostics signs
|
-- 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
|
for type, icon in pairs(diagnostics_signs) do
|
||||||
local hl = "DiagnosticSign" .. type
|
local hl = "DiagnosticSign" .. type
|
||||||
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
|
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
|
||||||
|
|
Loading…
Reference in New Issue