Ai
5 Star 27 Fork 0

Gitee 极速下载/neovim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/neovim/neovim
克隆/下载
usercmd.h 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
#pragma once
#include <stddef.h> // IWYU pragma: keep
#include <stdint.h>
#include "nvim/api/private/defs.h" // IWYU pragma: keep
#include "nvim/cmdexpand_defs.h" // IWYU pragma: keep
#include "nvim/eval/typval_defs.h"
#include "nvim/ex_cmds_defs.h"
#include "nvim/garray_defs.h"
#include "nvim/types_defs.h"
typedef struct {
char *uc_name; ///< The command name
uint32_t uc_argt; ///< The argument type
char *uc_rep; ///< The command's replacement string
int64_t uc_def; ///< The default value for a range/count
int uc_compl; ///< completion type
cmd_addr_T uc_addr_type; ///< The command's address type
sctx_T uc_script_ctx; ///< SCTX where the command was defined
char *uc_compl_arg; ///< completion argument if any
LuaRef uc_compl_luaref; ///< Reference to Lua completion function
LuaRef uc_preview_luaref; ///< Reference to Lua preview function
LuaRef uc_luaref; ///< Reference to Lua function
} ucmd_T;
enum { UC_BUFFER = 1, }; ///< -buffer: local to current buffer
extern garray_T ucmds;
#define USER_CMD(i) (&((ucmd_T *)(ucmds.ga_data))[i])
#define USER_CMD_GA(gap, i) (&((ucmd_T *)((gap)->ga_data))[i])
#include "usercmd.h.generated.h"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/neovim.git
git@gitee.com:mirrors/neovim.git
mirrors
neovim
neovim
master

搜索帮助