From 450dc2df6a3b6443e372dc86cbefc8fede71b54d Mon Sep 17 00:00:00 2001 From: Alexey Yerin Date: Sun, 27 Aug 2023 21:38:48 +0300 Subject: Make tabwidth option window-local --- view.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view.h') diff --git a/view.h b/view.h index fbe3736..95df58b 100644 --- a/view.h +++ b/view.h @@ -365,6 +365,8 @@ const char *view_breakat_get(View*); /** Set how many spaces are used to display a tab `\t` character. */ void view_tabwidth_set(View*, int tabwidth); +/** Get how many spaces are used to display a tab `\t` character. */ +int view_tabwidth_get(View*); /** Define a display style. */ bool view_style_define(View*, enum UiStyle, const char *style); /** Apply a style to a text range. */ -- cgit v1.2.3