From fe1aceaa5058b38c46654d27436bb8b12e4521fd Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 14 Feb 2014 12:21:22 -0500 Subject: [PATCH] use conceallevel=2 fixes #70 --- after/plugin/indentLine.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/after/plugin/indentLine.vim b/after/plugin/indentLine.vim index 09c5bb2..b123ea2 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -100,9 +100,9 @@ function! s:Setup() if ! exists("g:indentLine_noConcealCursor") setlocal concealcursor=inc endif - setlocal conceallevel=1 + setlocal conceallevel=2 - if !getbufvar("%","&hidden") || !exists("b:indentLine_set") + if !&hidden || !exists("b:indentLine_set") let b:indentLine_set = 1 if &filetype is# "" @@ -138,7 +138,7 @@ augroup indentLine autocmd! autocmd BufWinEnter * call Setup() autocmd BufRead,BufNewFile,ColorScheme * call InitColor() - autocmd Syntax * if exists("b:indentLine_set") && exists("b:indentLine_enabled") && b:indentLine_enabled | call InitColor() | call SetIndentLine() | endif + autocmd Syntax * if exists("b:indentLine_set") && get(b:, "indentLine_enabled", 0) | call InitColor() | call SetIndentLine() | endif augroup END "{{{1 commands