mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 8.2.2313: Vim9: using uninitialized field when parsing range
Problem: Vim9: using uninitialized field when parsing range. ":silent!" not respected when parsing range fails. Solution: Initialize ea.skip. On pattern failure handle it like an error. (closes #7636)
This commit is contained in:
@@ -661,6 +661,12 @@ def Test_range_after_command_modifier()
|
||||
bwipe!
|
||||
enddef
|
||||
|
||||
def Test_silent_pattern()
|
||||
new
|
||||
silent! :/pat/put _
|
||||
bwipe!
|
||||
enddef
|
||||
|
||||
def Test_eval_command()
|
||||
var from = 3
|
||||
var to = 5
|
||||
|
Reference in New Issue
Block a user