Files
neovim/runtime/lua/vim
github-actions[bot] 096f8418c5 fix(diagnostic): clamp diagnostics on negative line numbers (#16497)
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.

(cherry picked from commit 2799463ba2)

Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com>
2021-12-02 07:02:30 -08:00
..
2021-11-27 11:10:48 -05:00
2021-11-27 11:10:48 -05:00
2018-12-20 11:57:30 +01:00
2021-11-27 11:10:48 -05:00
2021-11-27 11:10:48 -05:00