aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-06 17:14:37 +0800
committerGitHub <noreply@github.com>2022-08-06 17:14:37 +0800
commitad7064bd83aef7caadb51c988c0dcb9054624fcf (patch)
tree87dccde4e4b661c283e9c75556a3853393ad3135 /src/nvim/getchar.c
parent5f0fbe7c2fae82c3bf911d726af483c8a0983379 (diff)
downloadrneovim-ad7064bd83aef7caadb51c988c0dcb9054624fcf.tar.gz
rneovim-ad7064bd83aef7caadb51c988c0dcb9054624fcf.tar.bz2
rneovim-ad7064bd83aef7caadb51c988c0dcb9054624fcf.zip
vim-patch:8.1.1210: support for user commands is spread out (#19653)
Problem: Support for user commands is spread out. No good reason to make user commands optional. Solution: Move user command support to usercmd.c. Always enable the user_commands feature. https://github.com/vim/vim/commit/ac9fb18020d7e8bf16d02d45fbb02cf47328aaf7
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 28ff0cbd59..2b2889d4d6 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -17,6 +17,7 @@
#include "nvim/cursor.h"
#include "nvim/edit.h"
#include "nvim/event/loop.h"
+#include "nvim/ex_docmd.h"
#include "nvim/ex_getln.h"
#include "nvim/garray.h"
#include "nvim/getchar.h"