What I want:
What I have:
Currently diagnostic signs like error,
show up as ‘E’, ‘W’ or ‘H’ on the signcolumn
and I have no idea what this is even part of.
Is this native to neovim?
Is it part of Mason-lspconfig?
Rust-analyzer?
I’ve done an attempt to make them appear but to no avail:
~/.config/nvim/plugin/options.lua
local icons = require "shared.icons"
...
local diagnostic_config = {
signs = {
active = true,
values = {
{ name = "DiagnosticSignError", text = icons.diagnostics.Error },
{ name = "DiagnosticSignWarn", text = icons.diagnostics.Warning },
{ name = "DiagnosticSignHint", text = icons.diagnostics.Hint },
{ name = "DiagnosticSignInfo", text = icons.diagnostics.Information },
},
},
virtual_text = true,
update_in_insert = false,
underline = true,
severity_sort = true,
float = {
focusable = true,
style = "minimal",
border = "rounded",
source = "always",
header = "",
prefix = "",
},
}
vim.diagnostic.config(diagnostic_config)