mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 10:26:42 +10:00
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)
e86190e7c1
Co-authored-by: Rob Pilling <robpilling@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user