diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-02 21:57:29 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-02 22:12:52 -0500 |
commit | 1b728490d38cc112ad4a4566644786be98816563 (patch) | |
tree | e1d71c8c8b3a13f5c079b70d5df5cfb5e8947eb4 /src | |
parent | 186ba3b68868dd35013b96b795ff17952b0853cb (diff) | |
download | rneovim-1b728490d38cc112ad4a4566644786be98816563.tar.gz rneovim-1b728490d38cc112ad4a4566644786be98816563.tar.bz2 rneovim-1b728490d38cc112ad4a4566644786be98816563.zip |
vim-patch:8.2.1942: insufficient test coverage for the Netbeans interface
Problem: Insufficient test coverage for the Netbeans interface.
Solution: Add more tests. Fix an uncovered bug. (Yegappan Lakshmanan,
closes vim/vim#7240)
https://github.com/vim/vim/commit/dbfa795d8b66c99ee758b132d6043871b9061563
N/A patches for version.c:
vim-patch:8.2.1165: insufficient testing for the Tcl interface
Problem: Insufficient testing for the Tcl interface.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6423)
https://github.com/vim/vim/commit/e4358906fdbd0b2df1889dad49c79a9c8cee5ac4
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/mouse.c | 2 | ||||
-rw-r--r-- | src/nvim/testdir/test_quickfix.vim | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c index d8ff83f479..748001dcec 100644 --- a/src/nvim/mouse.c +++ b/src/nvim/mouse.c @@ -450,7 +450,7 @@ bool mouse_comp_pos(win_T *win, int *rowp, int *colp, linenr_T *lnump) // skip line number and fold column in front of the line col -= win_col_off(win); - if (col < 0) { + if (col <= 0) { col = 0; } diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim index cf0af07528..049163890e 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -3602,6 +3602,10 @@ func Test_lhelpgrep_autocmd() au BufEnter * call setqflist([], 'f') augroup END call assert_fails('helpgrep quickfix', 'E925:') + " run the test with a help window already open + help + wincmd w + call assert_fails('helpgrep quickfix', 'E925:') augroup QF_Test au! BufEnter augroup END |