aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-02 11:06:18 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-03 09:59:37 +0200
commit87c7258ccc683965d2b6a5190f1e98d74c8d25d3 (patch)
tree7d8dfbe8efe4f23f9d6848c19be9e55e2bbb58b3 /view.h
parent860ad58af0e1c39d5ffda0474ed3c58aaa1ecca5 (diff)
downloadvis-87c7258ccc683965d2b6a5190f1e98d74c8d25d3.tar.gz
vis-87c7258ccc683965d2b6a5190f1e98d74c8d25d3.tar.xz
Add :show command to display special symbols for whitespaces
Enable/disable by setting to 0/1 respectively: :set show spaces=0 tabs=0 newlines=1
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 049ed4c..1d10110 100644
--- a/view.h
+++ b/view.h
@@ -115,5 +115,7 @@ bool view_viewport_down(View *view, int n);
/* associate a set of syntax highlighting rules to this window. */
void view_syntax_set(View*, Syntax*);
Syntax *view_syntax_get(View*);
+void view_symbols_set(View*, int flags);
+int view_symbols_get(View*);
#endif