diff options
author | Gregory Anders <greg@gpanders.com> | 2021-12-22 11:40:21 -0700 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2021-12-28 14:08:44 -0700 |
commit | eff11b3c3fcb9aa777deafb0a33b1523aa05b603 (patch) | |
tree | ff517e6b769f8604a1a6f24826405594859ec95b /src/nvim/ex_cmds_defs.h | |
parent | 9804a2870f6f308f788f939f52958e3fbd2adaac (diff) | |
download | rneovim-eff11b3c3fcb9aa777deafb0a33b1523aa05b603.tar.gz rneovim-eff11b3c3fcb9aa777deafb0a33b1523aa05b603.tar.bz2 rneovim-eff11b3c3fcb9aa777deafb0a33b1523aa05b603.zip |
feat(api): implement nvim_{add,del}_user_command
Add support for adding and removing custom user commands with the Nvim
API.
Diffstat (limited to 'src/nvim/ex_cmds_defs.h')
-rw-r--r-- | src/nvim/ex_cmds_defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_cmds_defs.h b/src/nvim/ex_cmds_defs.h index ea899b660b..e5eab61f9e 100644 --- a/src/nvim/ex_cmds_defs.h +++ b/src/nvim/ex_cmds_defs.h @@ -192,6 +192,7 @@ struct expand { int xp_context; // type of expansion size_t xp_pattern_len; // bytes in xp_pattern before cursor char_u *xp_arg; // completion function + LuaRef xp_luaref; // Ref to Lua completion function sctx_T xp_script_ctx; // SCTX for completion function int xp_backslash; // one of the XP_BS_ values #ifndef BACKSLASH_IN_FILENAME |