summary refs log tree commit diff
path: root/home/.config/nvim/init.vim
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-08 21:32:37 -0500
committerJune McEnroe <june@causal.agency>2019-02-08 21:32:37 -0500
commit13a9ecc026c4acc926d74b001d531c993dc543db (patch)
tree47371732381085929e10d39db64a02195a355afc /home/.config/nvim/init.vim
parentAdd sh syntax to hi (diff)
downloadsrc-13a9ecc026c4acc926d74b001d531c993dc543db.tar.gz
src-13a9ecc026c4acc926d74b001d531c993dc543db.zip
Don't open folds when using {}
Diffstat (limited to '')
-rw-r--r--home/.config/nvim/init.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim
index ae21a22c..3fef4b1a 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -10,7 +10,7 @@ set tabstop=4 shiftwidth=4 shiftround
 set smartindent cinoptions=l1(sU1m1
 set ignorecase smartcase inccommand=nosplit
 nmap <leader><leader> :nohlsearch<CR>
-set foldmethod=syntax foldlevel=99
+set foldmethod=syntax foldlevel=99 foldopen-=block
 let asmsyntax = "nasm"
 let c_syntax_for_h = 1
 let is_posix = 1