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({
590
590
591
591
-- Change diagnostic symbols in the sign column (gutter)
592
592
-- 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 = {}
594
595
-- 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
597
597
-- end
598
+ -- vim.diagnostic.config { signs = { text = diagnostic_signs } }
598
599
-- end
599
600
600
601
-- 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