neovim/runtime
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
..
autoload vim-patch:8.2.3703: most people call F# "fsharp" and not "fs" (#16469) 2021-11-30 14:51:17 +01:00
colors vim-patch:4f4d51a942cc 2021-05-01 14:22:52 -04:00
compiler vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
doc Merge pull request #16460 from dundargoc/chore/typos 2021-11-30 09:28:50 +01:00
ftplugin vim-patch:6304be625ce4 (#16450) 2021-11-27 19:39:42 +01:00
indent vim-patch:partial 113cb513f76d (#16260) 2021-11-08 00:10:44 +01:00
keymap vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
lua fix(diagnostic): clamp diagnostics on negative line numbers (#16497) 2021-12-02 07:02:30 -08:00
macros vim-patch:4072ba571bab 2021-05-01 22:29:03 -04:00
pack/dist/opt vim-patch:6304be625ce4 (#16450) 2021-11-27 19:39:42 +01:00
plugin vim-patch:519cc559b08b (#16340) 2021-11-17 10:02:59 +01:00
print
queries/c treesitter: Update to 0.19.3 2021-03-09 19:21:26 +01:00
spell vim-patch:8.2.0038: spell suggestions insufficiently tested 2021-06-12 13:06:49 -04:00
syntax vim-patch:6304be625ce4 (#16450) 2021-11-27 19:39:42 +01:00
tools vim-patch:6304be625ce4 (#16450) 2021-11-27 19:39:42 +01:00
tutor fix(tutor): formatting, layout #15098 2021-08-30 05:27:35 -07:00
bugreport.vim
CMakeLists.txt vim-patch:8.2.3676: unused runtime file (#16441) 2021-11-26 17:16:11 +01:00
delmenu.vim vim-patch:8.1.2416: loading menus sets v:errmsg 2021-04-11 17:05:42 -04:00
filetype.vim vim-patch:8.2.3703: most people call F# "fsharp" and not "fs" (#16469) 2021-11-30 14:51:17 +01:00
ftoff.vim
ftplugin.vim feat(runtime): Allow lua to be used in ftplugin 2021-06-11 01:01:02 +06:00
ftplugof.vim
indent.vim feat(runtime): Allow lua to be used in indent 2021-06-11 01:01:02 +06:00
indoff.vim
macmap.vim
makemenu.vim vim-patch:95a9dd1efc5a 2021-04-27 09:21:32 -04:00
menu.vim vim-patch:65e0d77a66b7 2021-04-28 21:57:50 -04:00
mswin.vim
nvim.appdata.xml NVIM 0.6.0 2021-11-30 18:20:42 +01:00
nvim.desktop vim-patch:23515b4ef758 2021-05-01 22:29:03 -04:00
nvim.png
optwin.vim vim-patch:8.1.2019: 'cursorline' always highlights the whole line (#15161) 2021-07-30 21:51:26 -04:00
scripts.vim vim-patch:8.2.3686: filetype detection often mixes up Forth and F# 2021-11-27 19:21:57 +01:00
synmenu.vim vim-patch:4466ad6baa22 2021-05-01 22:29:02 -04:00