File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -590,11 +590,12 @@ require('lazy').setup({
590590
591591 -- Change diagnostic symbols in the sign column (gutter)
592592 -- if vim.g.have_nerd_font then
593- -- local signs = { Error = '', Warn = '', Hint = '', Info = '' }
593+ -- local signs = { ERROR = '', WARN = '', INFO = '', HINT = '' }
594+ -- local diagnostic_signs = {}
594595 -- for type, icon in pairs(signs) do
595- -- local hl = 'DiagnosticSign' .. type
596- -- vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl })
596+ -- diagnostic_signs[vim.diagnostic.severity[type]] = icon
597597 -- end
598+ -- vim.diagnostic.config { signs = { text = diagnostic_signs } }
598599 -- end
599600
600601 -- LSP servers and clients are able to communicate to each other what features they support.
You can’t perform that action at this time.
0 commit comments