diff src/vim9script.c @ 23978:54b2aa1f0d42 v8.2.2531

patch 8.2.2531: Vim9: the :k command is obscure Commit: https://github.com/vim/vim/commit/10b9421f3bb7ac971fa63bd025c4c603c98f4a49 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 19 21:42:57 2021 +0100 patch 8.2.2531: Vim9: the :k command is obscure Problem: Vim9: the :k command is obscure. Solution: Disallow using :k, can use :mark instead. (closes https://github.com/vim/vim/issues/7874)
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Feb 2021 21:45:03 +0100
parents 39cf2d8e7edf
children bee8c78c0c6a
line wrap: on
line diff
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -95,6 +95,7 @@ not_in_vim9(exarg_T *eap)
 	    case CMD_append:
 	    case CMD_change:
 	    case CMD_insert:
+	    case CMD_k:
 	    case CMD_t:
 	    case CMD_xit:
 		semsg(_(e_command_not_supported_in_vim9_script_missing_var_str), eap->cmd);