mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
refactor: remove redundant struct names
A struct can be anonymous if only its typedef is used.
This commit is contained in:
@@ -38,7 +38,7 @@ typedef enum {
|
||||
#define SHAPE_MOUSE 1 // used for mouse pointer shape
|
||||
#define SHAPE_CURSOR 2 // used for text cursor shape
|
||||
|
||||
typedef struct cursor_entry {
|
||||
typedef struct {
|
||||
char *full_name; ///< mode description
|
||||
CursorShape shape; ///< cursor shape: one of the SHAPE_ defines
|
||||
int mshape; ///< mouse shape: one of the MSHAPE defines
|
||||
|
Reference in New Issue
Block a user