mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-08 21:14:45 +08:00
Merge pull request #79 from charlesswartz/master
Keep default conceal values for excluded files
This commit is contained in:
@@ -116,18 +116,6 @@ endfunction
|
||||
|
||||
"{{{1 function! s:Setup()
|
||||
function! s:Setup()
|
||||
if ! exists("g:indentLine_noConcealCursor")
|
||||
setlocal concealcursor=inc
|
||||
endif
|
||||
setlocal conceallevel=2
|
||||
|
||||
if !&hidden || !exists("b:indentLine_set")
|
||||
let b:indentLine_set = 1
|
||||
|
||||
if &filetype is# ""
|
||||
call s:InitColor()
|
||||
endif
|
||||
|
||||
if index(g:indentLine_fileTypeExclude, &filetype) isnot -1
|
||||
return
|
||||
endif
|
||||
@@ -142,6 +130,18 @@ function! s:Setup()
|
||||
endif
|
||||
endfor
|
||||
|
||||
if ! exists("g:indentLine_noConcealCursor")
|
||||
setlocal concealcursor=inc
|
||||
endif
|
||||
setlocal conceallevel=2
|
||||
|
||||
if !&hidden || !exists("b:indentLine_set")
|
||||
let b:indentLine_set = 1
|
||||
|
||||
if &filetype is# ""
|
||||
call s:InitColor()
|
||||
endif
|
||||
|
||||
if ! exists("b:indentLine_enabled")
|
||||
let b:indentLine_enabled = g:indentLine_enabled
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user