diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-04-03 18:39:22 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-04-03 23:55:22 +0200 |
| commit | ca222a7cc0d5a55312d96000a617e11d7a9996a1 (patch) | |
| tree | e5aee5e31ac06ff8bc81d587687ae874602577d2 /ui.h | |
| parent | 9915b9fd0b8e59bda9e334eb9485c473b06055c9 (diff) | |
| download | vis-ca222a7cc0d5a55312d96000a617e11d7a9996a1.tar.gz vis-ca222a7cc0d5a55312d96000a617e11d7a9996a1.tar.xz | |
Add option to display relative line numbers
:set rnu
Based on a patch by Sebastian Götte.
Diffstat (limited to 'ui.h')
| -rw-r--r-- | ui.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10,8 +10,9 @@ enum UiLayout { }; enum UiOption { - UI_OPTION_LINE_NUMBERS_NONE, - UI_OPTION_LINE_NUMBERS_ABSOLUTE, + UI_OPTION_LINE_NUMBERS_NONE = 0, + UI_OPTION_LINE_NUMBERS_ABSOLUTE = 1 << 0, + UI_OPTION_LINE_NUMBERS_RELATIVE = 1 << 1, }; #include <stdbool.h> |
