diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-12-23 13:15:42 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-12-23 13:24:25 +0100 |
| commit | 3314a2843f3c940e6fb96d8612f23172832f3804 (patch) | |
| tree | 125540a08f818c9dd65125010e9683b611cdd676 /window.h | |
| parent | d47c31e12e0e2aa691b861a0da884f785664ba36 (diff) | |
| download | vis-3314a2843f3c940e6fb96d8612f23172832f3804.tar.gz vis-3314a2843f3c940e6fb96d8612f23172832f3804.tar.xz | |
Optionally display line numbers alongside file
Enable/disable with
:set number [0|1]
Diffstat (limited to 'window.h')
| -rw-r--r-- | window.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -76,6 +76,8 @@ Filerange window_viewport_get(Win*); /* associate a set of syntax highlighting rules to this window. */ void window_syntax_set(Win*, Syntax*); Syntax *window_syntax_get(Win*); +/* whether to show line numbers to the left of the text content */ +void window_line_numbers_show(Win*, bool show); /* register a user defined function which will be called whenever the cursor has moved */ void window_cursor_watch(Win *win, void (*cursor_moved)(Win*, void*), void *data); |
