0
0
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:
Bram Moolenaar
2021-02-20 08:16:51 +01:00
parent 10b9421f3b
commit ada1d870b4
4 changed files with 15 additions and 1 deletions

View File

@@ -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