refactor(api): move command related API to separate file

This commit is contained in:
bfredl
2022-06-12 16:38:31 +02:00
parent a907d6f517
commit 0d63fafcda
9 changed files with 1146 additions and 1118 deletions

View File

@@ -90,9 +90,6 @@ static bool ex_pressedreturn = false;
garray_T ucmds = { 0, 0, sizeof(ucmd_T), 4, NULL };
// Whether a command index indicates a user command.
#define IS_USER_CMDIDX(idx) ((int)(idx) < 0)
// Struct for storing a line inside a while/for loop
typedef struct {
char *line; // command line