aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cursor_shape.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-21 19:09:50 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-21 19:09:50 +0200
commit10f119ab87442a9798bdd2d375b167fca5a0c62d (patch)
tree9db1c7094b4b998fa4090169d3d59b46ad24629a /src/nvim/cursor_shape.h
parentf50e03f2e35cf4bee8cedb2c95bf9619f3b57bc2 (diff)
parent48f0542ad6f923443ab4bba858aae2d9558f8d76 (diff)
downloadrneovim-10f119ab87442a9798bdd2d375b167fca5a0c62d.tar.gz
rneovim-10f119ab87442a9798bdd2d375b167fca5a0c62d.tar.bz2
rneovim-10f119ab87442a9798bdd2d375b167fca5a0c62d.zip
Merge #6539 'More cursor shape modes'
Diffstat (limited to 'src/nvim/cursor_shape.h')
-rw-r--r--src/nvim/cursor_shape.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/cursor_shape.h b/src/nvim/cursor_shape.h
index 7cf65cba3c..2c466603f0 100644
--- a/src/nvim/cursor_shape.h
+++ b/src/nvim/cursor_shape.h
@@ -25,7 +25,7 @@ SHAPE_IDX_MORE = 14, ///< Hit-return or More
SHAPE_IDX_MOREL = 15, ///< Hit-return or More in last line
SHAPE_IDX_SM = 16, ///< showing matching paren
SHAPE_IDX_COUNT = 17
-} MouseMode;
+} ModeShape;
typedef enum {
SHAPE_BLOCK = 0, ///< block cursor
@@ -53,6 +53,7 @@ typedef struct cursor_entry {
char used_for; ///< SHAPE_MOUSE and/or SHAPE_CURSOR
} cursorentry_T;
+extern cursorentry_T shape_table[SHAPE_IDX_COUNT];
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "cursor_shape.h.generated.h"