aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-06-12 16:38:31 +0200
committerbfredl <bjorn.linse@gmail.com>2022-06-12 19:45:39 +0200
commit0d63fafcda3847a6ec8a9da42db7bf10ac917d14 (patch)
treecb641fb671a722ea6c928c8be6607242df4cd907 /src/nvim/ex_docmd.c
parenta907d6f51761a18b22495cba933de478101644f5 (diff)
downloadrneovim-0d63fafcda3847a6ec8a9da42db7bf10ac917d14.tar.gz
rneovim-0d63fafcda3847a6ec8a9da42db7bf10ac917d14.tar.bz2
rneovim-0d63fafcda3847a6ec8a9da42db7bf10ac917d14.zip
refactor(api): move command related API to separate file
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 0d69578c26..8c6a32ee01 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -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