mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.2.2532: Vim9: confusing error if :k is used with a range
Problem: Vim9: confusing error if :k is used with a range. Solution: Give an error about the range. (issue #7874)
This commit is contained in:
@@ -3497,6 +3497,11 @@ def Test_unsupported_commands()
|
||||
END
|
||||
CheckDefAndScriptFailure(lines, 'E1100:')
|
||||
|
||||
lines =<< trim END
|
||||
:1ka
|
||||
END
|
||||
CheckDefAndScriptFailure(lines, 'E481:')
|
||||
|
||||
lines =<< trim END
|
||||
t
|
||||
END
|
||||
|
Reference in New Issue
Block a user