mirror of
https://github.com/Yggdroot/indentLine.git
synced 2026-01-02 09:33:23 +08:00
Providing new option g:indentLine_setConceal (#168)
* add option: g:indentLine_setConceal * add g:indentLine_setConceal detail to doc and readme
This commit is contained in:
@@ -21,6 +21,7 @@ let g:indentLine_bufNameExclude = get(g:,'indentLine_bufNameExclude',[])
|
||||
let g:indentLine_showFirstIndentLevel = get(g:,'indentLine_showFirstIndentLevel',0)
|
||||
let g:indentLine_maxLines = get(g:,'indentLine_maxLines',3000)
|
||||
let g:indentLine_setColors = get(g:,'indentLine_setColors',1)
|
||||
let g:indentLine_setConceal = get(g:,'indentLine_setConceal',1)
|
||||
let g:indentLine_faster = get(g:,'indentLine_faster',0)
|
||||
let g:indentLine_leadingSpaceChar = get(g:,'indentLine_leadingSpaceChar',(&encoding ==# "utf-8" && &term isnot# "linux" ? '˰' : '.'))
|
||||
let g:indentLine_leadingSpaceEnabled = get(g:,'indentLine_leadingSpaceEnabled',0)
|
||||
@@ -67,6 +68,9 @@ endfunction
|
||||
|
||||
"{{{1 function! s:SetConcealOption()
|
||||
function! s:SetConcealOption()
|
||||
if ! g:indentLine_setConceal
|
||||
return
|
||||
endif
|
||||
if ! exists("b:indentLine_ConcealOptionSet")
|
||||
let b:indentLine_ConcealOptionSet = 1
|
||||
let &l:concealcursor = exists("g:indentLine_concealcursor") ? g:indentLine_concealcursor : "inc"
|
||||
|
||||
Reference in New Issue
Block a user