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 2ba39c6 commit e5dc5f6Copy full SHA for e5dc5f6
init.lua
@@ -590,11 +590,12 @@ require('lazy').setup({
590
591
-- Change diagnostic symbols in the sign column (gutter)
592
-- if vim.g.have_nerd_font then
593
- -- local signs = { Error = '', Warn = '', Hint = '', Info = '' }
+ -- local signs = { ERROR = '', WARN = '', INFO = '', HINT = '' }
594
+ -- local diagnostic_signs = {}
595
-- for type, icon in pairs(signs) do
- -- local hl = 'DiagnosticSign' .. type
596
- -- vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
+ -- diagnostic_signs[vim.diagnostic.severity[type]] = icon
597
-- end
598
+ -- vim.diagnostic.config { signs = { text = diagnostic_signs } }
599
600
601
-- LSP servers and clients are able to communicate to each other what features they support.
0 commit comments