diff options
Diffstat (limited to 'src/nvim/cursor_shape.h')
-rw-r--r-- | src/nvim/cursor_shape.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/nvim/cursor_shape.h b/src/nvim/cursor_shape.h index 93bddd47c7..4c1d6d4eec 100644 --- a/src/nvim/cursor_shape.h +++ b/src/nvim/cursor_shape.h @@ -1,8 +1,7 @@ -#ifndef NVIM_CURSOR_SHAPE_H -#define NVIM_CURSOR_SHAPE_H +#pragma once -#include "nvim/api/private/defs.h" -#include "nvim/types.h" +#include "nvim/api/private/defs.h" // IWYU pragma: keep +#include "nvim/memory_defs.h" // IWYU pragma: keep /// struct to store values from 'guicursor' and 'mouseshape' /// Indexes in shape_table[] @@ -44,9 +43,9 @@ typedef struct cursor_entry { CursorShape shape; ///< cursor shape: one of the SHAPE_ defines int mshape; ///< mouse shape: one of the MSHAPE defines int percentage; ///< percentage of cell for bar - long blinkwait; ///< blinking, wait time before blinking starts - long blinkon; ///< blinking, on time - long blinkoff; ///< blinking, off time + int blinkwait; ///< blinking, wait time before blinking starts + int blinkon; ///< blinking, on time + int blinkoff; ///< blinking, off time int id; ///< highlight group ID int id_lm; ///< highlight group ID for :lmap mode char *name; ///< mode short name @@ -58,4 +57,3 @@ extern cursorentry_T shape_table[SHAPE_IDX_COUNT]; #ifdef INCLUDE_GENERATED_DECLARATIONS # include "cursor_shape.h.generated.h" #endif -#endif // NVIM_CURSOR_SHAPE_H |