comparison 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
comparison
equal deleted inserted replaced
23977:182c7ecd2cf3 23978:54b2aa1f0d42
93 switch (eap->cmdidx) 93 switch (eap->cmdidx)
94 { 94 {
95 case CMD_append: 95 case CMD_append:
96 case CMD_change: 96 case CMD_change:
97 case CMD_insert: 97 case CMD_insert:
98 case CMD_k:
98 case CMD_t: 99 case CMD_t:
99 case CMD_xit: 100 case CMD_xit:
100 semsg(_(e_command_not_supported_in_vim9_script_missing_var_str), eap->cmd); 101 semsg(_(e_command_not_supported_in_vim9_script_missing_var_str), eap->cmd);
101 return FAIL; 102 return FAIL;
102 default: break; 103 default: break;