summary refs log tree commit diff
path: root/home/.config/nvim
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-06-15 10:40:24 -0400
committerJune McEnroe <june@causal.agency>2017-06-15 10:40:24 -0400
commitd1f0af910154f24aa4d3177fde183aa347f401a5 (patch)
treedb841c3692615a7679b14cf6339421ed56f43ad2 /home/.config/nvim
parentSet Folded highlight in trivial (diff)
downloadsrc-d1f0af910154f24aa4d3177fde183aa347f401a5.tar.gz
src-d1f0af910154f24aa4d3177fde183aa347f401a5.zip
Enable syntax folding
Long Scala files.
Diffstat (limited to 'home/.config/nvim')
-rw-r--r--home/.config/nvim/init.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim
index 0e2683a3..77ea9fa8 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -5,6 +5,7 @@ set splitbelow splitright
 
 set ignorecase smartcase inccommand=nosplit
 set tabstop=4 expandtab shiftwidth=4 shiftround smartindent
+set foldmethod=syntax foldlevel=99
 set undofile
 
 set title