diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-24 07:55:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-24 07:55:03 +0800 |
commit | 3b9bd7bd439a31f393746e01e25291dd0543630d (patch) | |
tree | 46627d70f3c517991744caf0cd8def202441b7ed /test | |
parent | 3ea1524cf8a7d80d1034011462fd9611fdf385f1 (diff) | |
download | rneovim-3b9bd7bd439a31f393746e01e25291dd0543630d.tar.gz rneovim-3b9bd7bd439a31f393746e01e25291dd0543630d.tar.bz2 rneovim-3b9bd7bd439a31f393746e01e25291dd0543630d.zip |
vim-patch:9.0.1092: search error message doesn't show used pattern (#21518)
Problem: Search error message doesn't show used pattern.
Solution: Pass the actually used pattern to where the error message is
given. (Rob Pilling, closes vim/vim#11742)
https://github.com/vim/vim/commit/e86190e7c1297da29d0fc2415fdeca5ecae8d2ba
Co-authored-by: Rob Pilling <robpilling@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/search_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/search_spec.lua b/test/unit/search_spec.lua index ce37ebfc3a..be905bf5f0 100644 --- a/test/unit/search_spec.lua +++ b/test/unit/search_spec.lua @@ -37,7 +37,7 @@ end) describe('search_regcomp', function() local search_regcomp = function(pat, pat_save, pat_use, options ) local regmatch = ffi.new("regmmatch_T") - local fail = search.search_regcomp(to_cstr(pat), pat_save, pat_use, options, regmatch) + local fail = search.search_regcomp(to_cstr(pat), nil, pat_save, pat_use, options, regmatch) return fail, regmatch end |