File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -631,7 +631,6 @@ require('lazy').setup({
631
631
vim .diagnostic .config {
632
632
severity_sort = true ,
633
633
float = { border = ' rounded' , source = ' if_many' },
634
- underline = { severity = vim .diagnostic .severity .ERROR },
635
634
signs = vim .g .have_nerd_font and {
636
635
text = {
637
636
[vim .diagnostic .severity .ERROR ] = ' ' ,
@@ -643,15 +642,6 @@ require('lazy').setup({
643
642
virtual_text = {
644
643
source = ' if_many' ,
645
644
spacing = 2 ,
646
- format = function (diagnostic )
647
- local diagnostic_message = {
648
- [vim .diagnostic .severity .ERROR ] = diagnostic .message ,
649
- [vim .diagnostic .severity .WARN ] = diagnostic .message ,
650
- [vim .diagnostic .severity .INFO ] = diagnostic .message ,
651
- [vim .diagnostic .severity .HINT ] = diagnostic .message ,
652
- }
653
- return diagnostic_message [diagnostic .severity ]
654
- end ,
655
645
},
656
646
-- Display multiline diagnostics as virtual lines
657
647
-- virtual_lines = true,
You can’t perform that action at this time.
0 commit comments