aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-09-09 19:55:50 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-09-09 19:55:50 +1200
commit440fba8c86a9ce58321c42697a6358d962488c0c (patch)
tree92a467c06c3af0bbd9fdda6c3b2627bdbfeb1661
parent1d60511bc3b2e0d6bbe85b210af0ee652c0dc37b (diff)
downloaddotfiles-440fba8c86a9ce58321c42697a6358d962488c0c.tar.gz
Correct &laststatus default value test
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 9f5735c7..d017dfe9 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -140,7 +140,7 @@ set nojoinspaces
" Don't show a statusline if there's only one window
" This is the Vim default, but NeoVim changed it
-if &laststatus
+if &laststatus != 1
set laststatus=1
endif