aboutsummaryrefslogtreecommitdiff
path: root/src/cursor_shape.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-10 02:02:40 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-10 05:55:59 -0300
commit3cac32e49c7fae9cf5963d35f3fd3052c061b2fa (patch)
treeb62282c3caa75fefd33d63d272893a0cdbc92fb0 /src/cursor_shape.c
parent1684bec63571583f14065cfb614153df125b97e8 (diff)
downloadrneovim-3cac32e49c7fae9cf5963d35f3fd3052c061b2fa.tar.gz
rneovim-3cac32e49c7fae9cf5963d35f3fd3052c061b2fa.tar.bz2
rneovim-3cac32e49c7fae9cf5963d35f3fd3052c061b2fa.zip
Remove CURSOR_SHAPE #ifdef tests
See issue #333
Diffstat (limited to 'src/cursor_shape.c')
-rw-r--r--src/cursor_shape.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/cursor_shape.c b/src/cursor_shape.c
index 6ee1b237a0..1e49cb3f43 100644
--- a/src/cursor_shape.c
+++ b/src/cursor_shape.c
@@ -1,11 +1,10 @@
#include "vim.h"
#include "cursor_shape.h"
#include "misc2.h"
+#include "ex_getln.h"
#include "charset.h"
#include "syntax.h"
-#if defined(CURSOR_SHAPE) || defined(PROTO)
-
/*
* Handling of cursor and mouse pointer shapes in various modes.
*/
@@ -209,8 +208,6 @@ char_u *parse_shape_opt(int what)
return NULL;
}
-# if defined(MCH_CURSOR_SHAPE) || defined(FEAT_GUI) \
- || defined(FEAT_MOUSESHAPE) || defined(PROTO)
/*
* Return the index into shape_table[] for the current mode.
* When "mouse" is TRUE, consider indexes valid for the mouse pointer.
@@ -242,6 +239,3 @@ int get_shape_idx(int mouse)
}
return SHAPE_IDX_N;
}
-#endif
-
-#endif /* CURSOR_SHAPE */