mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
test: 'showcmd' with ext_messages and Visual selection (#28393)
Also slightly reorder some code to make comments look less out-of-place.
This commit is contained in:
@@ -64,6 +64,15 @@
|
||||
#include "nvim/undo.h"
|
||||
#include "nvim/vim_defs.h"
|
||||
|
||||
typedef struct {
|
||||
int prev_c;
|
||||
uint8_t buf[MB_MAXBYTES * 3 + 4];
|
||||
size_t buflen;
|
||||
unsigned pending;
|
||||
bool in_special;
|
||||
bool in_mbyte;
|
||||
} gotchars_state_T;
|
||||
|
||||
/// Index in scriptin
|
||||
static int curscript = -1;
|
||||
/// Streams to read script from
|
||||
@@ -84,15 +93,6 @@ static FileDescriptor scriptin[NSCRIPT] = { 0 };
|
||||
|
||||
#define MINIMAL_SIZE 20 // minimal size for b_str
|
||||
|
||||
typedef struct {
|
||||
int prev_c;
|
||||
uint8_t buf[MB_MAXBYTES * 3 + 4];
|
||||
size_t buflen;
|
||||
unsigned pending;
|
||||
bool in_special;
|
||||
bool in_mbyte;
|
||||
} gotchars_state_T;
|
||||
|
||||
static buffheader_T redobuff = { { NULL, { NUL } }, NULL, 0, 0 };
|
||||
static buffheader_T old_redobuff = { { NULL, { NUL } }, NULL, 0, 0 };
|
||||
static buffheader_T recordbuff = { { NULL, { NUL } }, NULL, 0, 0 };
|
||||
|
Reference in New Issue
Block a user