From 735aa4c4c89943b26f1d6ba0d3e076002490c09d Mon Sep 17 00:00:00 2001 From: dundargoc Date: Sun, 31 Dec 2023 01:54:34 +0100 Subject: refactor: remove redundant struct names A struct can be anonymous if only its typedef is used. --- src/nvim/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/edit.c') diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 80e6648e95..99109e4554 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -64,7 +64,7 @@ #include "nvim/vim_defs.h" #include "nvim/window.h" -typedef struct insert_state { +typedef struct { VimState state; cmdarg_T *ca; int mincol; -- cgit