mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
refactor: remove redundant struct names
A struct can be anonymous if only its typedef is used.
This commit is contained in:
@@ -15,7 +15,7 @@ typedef enum {
|
||||
enum { EXPAND_BUF_LEN = 256, };
|
||||
|
||||
/// used for completion on the command line
|
||||
typedef struct expand {
|
||||
typedef struct {
|
||||
char *xp_pattern; ///< start of item to expand, guaranteed
|
||||
///< to be part of xp_line
|
||||
int xp_context; ///< type of expansion
|
||||
|
Reference in New Issue
Block a user