diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-07 09:10:09 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-07 12:16:34 +0100 |
| commit | 70a82653363ef22fd000b0af14656251deed3448 (patch) | |
| tree | 59f13efe44465ee2eae69dcb5fddc8575f273994 /vis.h | |
| parent | 26b56bc3090e9ad6ffd71f216a53805c5e894807 (diff) | |
| download | vis-70a82653363ef22fd000b0af14656251deed3448.tar.gz vis-70a82653363ef22fd000b0af14656251deed3448.tar.xz | |
vis: prefix enum VisOperator values with VIS_
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -149,25 +149,25 @@ const char *vis_mode_status(Vis*); bool vis_action_register(Vis*, KeyAction*); enum VisOperator { - OP_DELETE, - OP_CHANGE, - OP_YANK, - OP_PUT_AFTER, - OP_SHIFT_RIGHT, - OP_SHIFT_LEFT, - OP_JOIN, - OP_INSERT, - OP_REPLACE, - OP_CURSOR_SOL, - OP_CASE_SWAP, - OP_INVALID, /* denotes the end of the "real" operators */ + VIS_OP_DELETE, + VIS_OP_CHANGE, + VIS_OP_YANK, + VIS_OP_PUT_AFTER, + VIS_OP_SHIFT_RIGHT, + VIS_OP_SHIFT_LEFT, + VIS_OP_JOIN, + VIS_OP_INSERT, + VIS_OP_REPLACE, + VIS_OP_CURSOR_SOL, + VIS_OP_CASE_SWAP, + VIS_OP_INVALID, /* denotes the end of the "real" operators */ /* pseudo operators: keep them at the end to save space in array definition */ - OP_CASE_LOWER, - OP_CASE_UPPER, - OP_CURSOR_EOL, - OP_PUT_AFTER_END, - OP_PUT_BEFORE, - OP_PUT_BEFORE_END, + VIS_OP_CASE_LOWER, + VIS_OP_CASE_UPPER, + VIS_OP_CURSOR_EOL, + VIS_OP_PUT_AFTER_END, + VIS_OP_PUT_BEFORE, + VIS_OP_PUT_BEFORE_END, }; /* set operator to execute, has immediate effect if |
