mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.2.4049: Vim9: reading before the start of the line with "$"
Problem: Vim9: reading before the start of the line with "$" by itself. Solution: Do not subtract one when reporting the error.
This commit is contained in:
@@ -2853,6 +2853,7 @@ def Test_expr7_environment()
|
||||
CheckDefAndScriptSuccess(lines)
|
||||
|
||||
CheckDefAndScriptFailure(["var x = $$$"], ['E1002:', 'E15:'], 1)
|
||||
CheckDefAndScriptFailure(["$"], ['E1002:', 'E15:'], 1)
|
||||
enddef
|
||||
|
||||
def Test_expr7_register()
|
||||
|
Reference in New Issue
Block a user