aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2023-08-27 21:38:48 +0300
committerRandy Palamar <palamar@ualberta.ca>2023-08-27 12:55:29 -0600
commit450dc2df6a3b6443e372dc86cbefc8fede71b54d (patch)
tree28762e11e14318aa662b53b66074dd89f7438165 /view.h
parentae450f738c0ed07b3b892449463c817a2125c2e7 (diff)
downloadvis-450dc2df6a3b6443e372dc86cbefc8fede71b54d.tar.gz
vis-450dc2df6a3b6443e372dc86cbefc8fede71b54d.tar.xz
Make tabwidth option window-local
Diffstat (limited to 'view.h')
-rw-r--r--view.h2
1 files changed, 2 insertions, 0 deletions
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. */