We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc73de commit 89c66c7Copy full SHA for 89c66c7
init.lua
@@ -567,11 +567,12 @@ require('lazy').setup({
567
568
-- Change diagnostic symbols in the sign column (gutter)
569
-- if vim.g.have_nerd_font then
570
- -- local signs = { Error = '', Warn = '', Hint = '', Info = '' }
+ -- local signs = { ERROR = '', WARN = '', INFO = '', HINT = '' }
571
+ -- local diagnostic_signs = {}
572
-- for type, icon in pairs(signs) do
- -- local hl = 'DiagnosticSign' .. type
573
- -- vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
+ -- diagnostic_signs[vim.diagnostic.severity[type]] = icon
574
-- end
575
+ -- vim.diagnostic.config { signs = { text = diagnostic_signs } }
576
577
578
-- LSP servers and clients are able to communicate to each other what features they support.
0 commit comments