From 3314a2843f3c940e6fb96d8612f23172832f3804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 23 Dec 2014 13:15:42 +0100 Subject: Optionally display line numbers alongside file Enable/disable with :set number [0|1] --- window.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'window.h') diff --git a/window.h b/window.h index 4d00b48..eae7b17 100644 --- a/window.h +++ b/window.h @@ -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); -- cgit v1.2.3