Mercurial > vim
diff src/optiondefs.h @ 31457:bb797331e21b v9.0.1061
patch 9.0.1061: cannot display 'showcmd' somewhere else
Commit: https://github.com/vim/vim/commit/ba936f6f4e85cc1408bc3967f9fd7665d948909b
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Thu Dec 15 13:15:39 2022 +0000
patch 9.0.1061: cannot display 'showcmd' somewhere else
Problem: Cannot display 'showcmd' somewhere else.
Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes https://github.com/vim/vim/issues/11684)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 15 Dec 2022 14:30:05 +0100 |
parents | f8d32833cf31 |
children | 9dc48932db8e |
line wrap: on
line diff
--- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -2240,6 +2240,9 @@ static struct vimoption options[] = (char_u *)TRUE #endif } SCTX_INIT}, + {"showcmdloc", "sloc", P_STRING|P_RSTAT, + (char_u *)&p_sloc, PV_NONE, + {(char_u *)"last", (char_u *)"last"} SCTX_INIT}, {"showfulltag", "sft", P_BOOL|P_VI_DEF, (char_u *)&p_sft, PV_NONE, {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},