mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
refactor: remove redundant struct names
A struct can be anonymous if only its typedef is used.
This commit is contained in:
@@ -128,7 +128,7 @@ struct aucmd_executable_t {
|
||||
typedef char *(*LineGetter)(int, void *, int, bool);
|
||||
|
||||
/// Structure for command definition.
|
||||
typedef struct cmdname {
|
||||
typedef struct {
|
||||
char *cmd_name; ///< Name of the command.
|
||||
ex_func_T cmd_func; ///< Function with implementation of this command.
|
||||
ex_preview_func_T cmd_preview_func; ///< Preview callback function of this command.
|
||||
|
Reference in New Issue
Block a user