summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-03-30 23:10:18 +1300
committerDavid Phillips <david@sighup.nz>2019-03-30 23:10:18 +1300
commitefbf98f8c23ac5ac0c2b5ecdba5390bfcd65a928 (patch)
tree03436e024fc7d308b173eb2752db2fb799836c41
parent264b745dd02d9dcfe504732be9e38129c49ff291 (diff)
downloaddotfiles-efbf98f8c23ac5ac0c2b5ecdba5390bfcd65a928.tar.xz
vimrc: Better disable folds
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 51f2561..a309b4d 100644
--- a/vimrc
+++ b/vimrc
@@ -3,7 +3,7 @@ set cc=80,120
set number
set foldmethod=syntax
-set nofoldenable
+autocmd BufEnter * silent! %foldopen!
set autoindent
set tabstop=4