summary refs log tree commit diff
path: root/home/.config/nvim
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
commitc9148b7493446201c4c76d144d32f55c35e8b7b3 (patch)
tree8eab4d0d3c54364363f4170bcfcb6995f4e60165 /home/.config/nvim
parentAdd sh syntax to hi (diff)
downloadsrc-c9148b7493446201c4c76d144d32f55c35e8b7b3.tar.gz
src-c9148b7493446201c4c76d144d32f55c35e8b7b3.zip
Don't open folds when using {}
Diffstat (limited to 'home/.config/nvim')
-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