aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2015-12-20 14:08:04 +0100
committerMarc André Tanner <mat@brain-dump.org>2015-12-26 21:28:56 +0100
commit39e2b6f1b7a750af55ceeadab977354919d0ccf5 (patch)
treef5a6653450433c54a920930a70ede9f67217c5ba
parent8572b583712abc80ee2a791b0e66d09cbfc28721 (diff)
downloadvis-39e2b6f1b7a750af55ceeadab977354919d0ccf5.tar.gz
vis-39e2b6f1b7a750af55ceeadab977354919d0ccf5.tar.xz
Initialize enum values to the public API ones
-rw-r--r--vis-core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis-core.h b/vis-core.h
index 1ecc1b6..22bec33 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -59,8 +59,8 @@ typedef struct { /* Motion implementation, takes a cursor postion and returns a
size_t (*view)(Vis*, View*);
size_t (*win)(Vis*, Win*, size_t pos);
enum {
- LINEWISE = 1 << 0, /* should the covered range be extended to whole lines? */
- CHARWISE = 1 << 1, /* scrolls window content until position is visible */
+ LINEWISE = VIS_MOTIONTYPE_LINEWISE, /* should the covered range be extended to whole lines? */
+ CHARWISE = VIS_MOTIONTYPE_CHARWISE, /* scrolls window content until position is visible */
INCLUSIVE = 1 << 2, /* should new position be included in operator range? */
IDEMPOTENT = 1 << 3, /* does the returned postion remain the same if called multiple times? */
JUMP = 1 << 4,