Mercurial > vim
comparison src/vim9compile.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 | 09bde146adcb |
children | bee8c78c0c6a |
comparison
equal
deleted
inserted
replaced
23977:182c7ecd2cf3 | 23978:54b2aa1f0d42 |
---|---|
8518 // TODO: any other commands with an expression argument? | 8518 // TODO: any other commands with an expression argument? |
8519 | 8519 |
8520 case CMD_append: | 8520 case CMD_append: |
8521 case CMD_change: | 8521 case CMD_change: |
8522 case CMD_insert: | 8522 case CMD_insert: |
8523 case CMD_k: | |
8523 case CMD_t: | 8524 case CMD_t: |
8524 case CMD_xit: | 8525 case CMD_xit: |
8525 not_in_vim9(&ea); | 8526 not_in_vim9(&ea); |
8526 goto erret; | 8527 goto erret; |
8527 | 8528 |