Files
neovim/runtime
Michael Lingelbach 254c22afc3 fix(diagnostic): clamp diagnostics on negative line numbers (#16496)
Closes https://github.com/neovim/neovim/issues/16492

Despite having logic for setting the maximum diagnostic line
number to at minimum 0, previously the conditional statement only
checked if lnum and end_lnum were greater than the line count.

Fix: also check if lnum and end_lnum are less than 0.
2021-12-02 06:38:44 -08:00
..
2021-05-01 14:22:52 -04:00
2021-09-13 16:33:41 +02:00
2021-11-27 19:39:42 +01:00
2021-09-13 16:33:41 +02:00
2021-05-01 22:29:03 -04:00
2021-11-17 10:02:59 +01:00
2014-12-19 15:28:49 -05:00
2021-03-09 19:21:26 +01:00
2021-11-27 19:39:42 +01:00
2021-11-27 19:39:42 +01:00
2019-07-29 20:50:07 +02:00
2021-04-27 09:21:32 -04:00
2021-04-28 21:57:50 -04:00
2019-07-29 20:50:07 +02:00
2021-11-30 18:20:42 +01:00
2021-05-01 22:29:03 -04:00
2021-05-01 22:29:02 -04:00