diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-31 17:44:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 17:44:13 +0200 |
commit | 7380ebfc17723662f6fe1e38372f54b3d67fe082 (patch) | |
tree | e079f85a72f851e5c0a8e08f52db0cb4a8b26163 /src/nvim/api/vim.c | |
parent | 5d840fa7e6ba7d58a89d3126ee914cb0e42168ca (diff) | |
parent | 46536f53e82967dcac8d030ee3394cdb156f9603 (diff) | |
download | rneovim-7380ebfc17723662f6fe1e38372f54b3d67fe082.tar.gz rneovim-7380ebfc17723662f6fe1e38372f54b3d67fe082.tar.bz2 rneovim-7380ebfc17723662f6fe1e38372f54b3d67fe082.zip |
Merge pull request #18194 from famiu/feat/usercmd_preview
feat: user command "preview" (like inccommand)
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index fc3d0549b9..228d114376 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -2511,6 +2511,7 @@ Dictionary nvim_eval_statusline(String str, Dict(eval_statusline) *opts, Error * /// - desc: (string) Used for listing the command when a Lua function is used for /// {command}. /// - force: (boolean, default true) Override any previous definition. +/// - preview: (function) Preview callback for 'inccommand' |:command-preview| /// @param[out] err Error details, if any. void nvim_create_user_command(String name, Object command, Dict(user_command) *opts, Error *err) FUNC_API_SINCE(9) |