diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-09-03 06:46:30 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-09-03 09:01:09 +0800 |
commit | 7243b1cbde8a08deab6bf29b452b3383fa4f6d8d (patch) | |
tree | f6eaa87ecabe79c63dae4852b48476dc8b91d771 /runtime/lua/vim/shared.lua | |
parent | 05b49ef975664ccdfea4e7b5a0fc09c8ed2cf11a (diff) | |
download | rneovim-7243b1cbde8a08deab6bf29b452b3383fa4f6d8d.tar.gz rneovim-7243b1cbde8a08deab6bf29b452b3383fa4f6d8d.tar.bz2 rneovim-7243b1cbde8a08deab6bf29b452b3383fa4f6d8d.zip |
vim-patch:9.0.0360: crash when invalid line number on :for is ignored
Problem: Crash when invalid line number on :for is ignored.
Solution: Do not check breakpoint for non-existing line.
https://github.com/vim/vim/commit/35d21c6830fc2d68aca838424a0e786821c5891c
Test does not fail without the fix in Nvim as Nvim uses 0 when line
number overflows. If it is changed to MAXLNUM then the test does fail
without the fix, but using 0 seems better as E481 is still given.
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions