]> git.zndr.dk Git - vimfiles.git/commitdiff
Do not highlight folded
authorJannik ZANDER <jzander@grundfos.com>
Fri, 10 Aug 2018 08:37:00 +0000 (10:37 +0200)
committerJannik ZANDER <jzander@grundfos.com>
Fri, 10 Aug 2018 08:37:00 +0000 (10:37 +0200)
vimrc

diff --git a/vimrc b/vimrc
index 005e9fef130b0030493006428e6cebb34dc276ac..76284443fad9e2a02332e6ec8d872214171be2e8 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -44,6 +44,7 @@ set matchtime=2
 
 " folding
 set foldmethod=syntax
+set foldnestmax=1
 
 " keyboard
 set backspace=indent,eol,start
@@ -109,8 +110,11 @@ set cursorcolumn
 highlight linenr ctermfg=grey
 highlight BadWhitespace ctermfg=red
 match BadWhitespace /\s\+$/
-highlight Cursorline cterm=NONE ctermbg=darkgrey
+"highlight Cursorline cterm=NONE ctermbg=darkgrey
+"highlight Cursorcolumn ctermbg=darkgrey
+highlight Cursorline ctermfg=NONE ctermbg=darkgrey
 highlight Cursorcolumn ctermbg=darkgrey
+highligh! link folded normal
 
 " fonts and chars
 set list