This option specifies the least important diagnostic that should be shown on the scroll bar. By default it is set to HINT, which means all diagnostics are shown. But, if set to INFO, it will show everything including INFO, but not HINT. Example:
Set to HINT
Set to INFO
Better highlights
Before, the diagnostic sign was highlighted with the severity of the last diagnostic in that part of the file. Which means that, sometimes, the lines with multiple diagnostics wouldn't be highlighted properly:
Before
(the line has both warning and error, warning is shown on the scroll bar)
More customization in diagnostic handler
Exposed more configuration parameters (
signs
andmin_severity
). Both can be configured withsetup
:Added
min_severity
optionThis option specifies the least important diagnostic that should be shown on the scroll bar. By default it is set to
HINT
, which means all diagnostics are shown. But, if set toINFO
, it will show everything includingINFO
, but notHINT
. Example:HINT
INFO
Better highlights
Before, the diagnostic sign was highlighted with the severity of the last diagnostic in that part of the file. Which means that, sometimes, the lines with multiple diagnostics wouldn't be highlighted properly: