mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.2.1159: Vim9: no error for missing space after a comma
Problem: Vim9: no error for missing space after a comma. Solution: Check for white space.
This commit is contained in:
@@ -571,7 +571,7 @@ enddef
|
||||
|
||||
def Test_try_catch_fails()
|
||||
call CheckDefFailure(['catch'], 'E603:')
|
||||
call CheckDefFailure(['try', 'echo 0', 'catch','catch'], 'E1033:')
|
||||
call CheckDefFailure(['try', 'echo 0', 'catch', 'catch'], 'E1033:')
|
||||
call CheckDefFailure(['try', 'echo 0', 'catch /pat'], 'E1067:')
|
||||
call CheckDefFailure(['finally'], 'E606:')
|
||||
call CheckDefFailure(['try', 'echo 0', 'finally', 'echo 1', 'finally'], 'E607:')
|
||||
|
Reference in New Issue
Block a user