mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-08 21:14:45 +08:00
Merge pull request #1 from Konfekt/patch-1
allow user to set conceallevel and -cursor
This commit is contained in:
@@ -68,10 +68,8 @@ endfunction
|
||||
function! s:SetConcealOption()
|
||||
if ! exists("b:indentLine_ConcealOptionSet")
|
||||
let b:indentLine_ConcealOptionSet = 1
|
||||
if ! exists("g:indentLine_noConcealCursor")
|
||||
setlocal concealcursor=inc
|
||||
endif
|
||||
setlocal conceallevel=2
|
||||
let &l:concealcursor = exists("g:indentLine_concealcursor") ? g:indentLine_concealcursor : "inc"
|
||||
let &l:conceallevel = exists("g:indentLine_conceallevel") ? g:indentLine_conceallevel : "2"
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user