aboutsummaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'window.h')
-rw-r--r--window.h2
1 files changed, 2 insertions, 0 deletions
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);