aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/state.h')
-rw-r--r--src/nvim/state.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/nvim/state.h b/src/nvim/state.h
index 6617b77fa0..8c5957bf9a 100644
--- a/src/nvim/state.h
+++ b/src/nvim/state.h
@@ -1,14 +1,6 @@
#pragma once
-typedef struct vim_state VimState;
-
-typedef int (*state_check_callback)(VimState *state);
-typedef int (*state_execute_callback)(VimState *state, int key);
-
-struct vim_state {
- state_check_callback check;
- state_execute_callback execute;
-};
+#include "nvim/state_defs.h" // IWYU pragma: export
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "state.h.generated.h"