forked from aniani/vim
patch 8.2.3189: Vim9: error when using "try|"
Problem: Vim9: error when using "try|". Solution: Allow for "|" right after a command.
This commit is contained in:
@@ -581,6 +581,9 @@ def Test_try_catch_throw()
|
||||
endfor
|
||||
assert_equal(4, counter)
|
||||
|
||||
# no requirement for spaces before |
|
||||
try|echo 0|catch|endtry
|
||||
|
||||
# return in finally after empty catch
|
||||
def ReturnInFinally(): number
|
||||
try
|
||||
|
Reference in New Issue
Block a user