diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 11:17:10 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 11:27:17 +0800 |
commit | 45ca7d4a62d9d6275339e9d9c0a4930448592712 (patch) | |
tree | 603914c3001375464abb5ddd7b8cf22ebd76099c /src/nvim/ex_getln.c | |
parent | 81722896e4a6d17dbf33325d344253e44a11e9ed (diff) | |
download | rneovim-45ca7d4a62d9d6275339e9d9c0a4930448592712.tar.gz rneovim-45ca7d4a62d9d6275339e9d9c0a4930448592712.tar.bz2 rneovim-45ca7d4a62d9d6275339e9d9c0a4930448592712.zip |
vim-patch:8.2.0502: Vim9: some code is not tested
Problem: Vim9: some code is not tested.
Solution: Add more tests. Fix uncovered problems.
https://github.com/vim/vim/commit/e8c4abbbd711af8fd3ed85ea69e9ac3d63a0d879
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index a1e4bc96b5..1d242e4ed2 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -314,7 +314,7 @@ static bool do_incsearch_highlighting(int firstc, int *search_delim, incsearch_s p = skipwhite(p); delim = (delim_optional && vim_isIDc(*p)) ? ' ' : *p++; *search_delim = delim; - end = skip_regexp(p, delim, p_magic, NULL); + end = skip_regexp(p, delim, p_magic); use_last_pat = end == p && *end == delim; if (end == p && !use_last_pat) { |