mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
vim-patch:9.0.1061: cannot display 'showcmd' somewhere else
Problem: Cannot display 'showcmd' somewhere else.
Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes vim/vim#11684)
ba936f6f4e
Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
This commit is contained in:
@@ -72,6 +72,12 @@ typedef struct cmdarg_S {
|
||||
#define CA_COMMAND_BUSY 1 // skip restarting edit() once
|
||||
#define CA_NO_ADJ_OP_END 2 // don't adjust operator end
|
||||
|
||||
// columns needed by shown command
|
||||
#define SHOWCMD_COLS 10
|
||||
// 'showcmd' buffer shared between normal.c and statusline.c
|
||||
#define SHOWCMD_BUFLEN (SHOWCMD_COLS + 1 + 30)
|
||||
EXTERN char showcmd_buf[SHOWCMD_BUFLEN];
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "normal.h.generated.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user