aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorRichard Burke <rich.g.burke@gmail.com>2016-05-08 14:05:25 +0100
committerRichard Burke <rich.g.burke@gmail.com>2016-05-08 14:06:13 +0100
commitcd89f1c9898ae02033faab34d72f2e14981088ec (patch)
treeeab55a7cb24659167dab682eae75fb5dbedb591a /vis.c
parentc15076cd44fa89b3ee9f4411ea43b8cdf14f45f8 (diff)
downloadvis-cd89f1c9898ae02033faab34d72f2e14981088ec.tar.gz
vis-cd89f1c9898ae02033faab34d72f2e14981088ec.tar.xz
Fix autoindent when using O
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vis.c b/vis.c
index 811b39d..9787338 100644
--- a/vis.c
+++ b/vis.c
@@ -1363,3 +1363,7 @@ View *vis_view(Vis *vis) {
Win *vis_window(Vis *vis) {
return vis->win;
}
+
+bool vis_get_autoindent(const Vis *vis) {
+ return vis->autoindent;
+} \ No newline at end of file