mirror of
https://github.com/Yggdroot/indentLine.git
synced 2026-03-02 13:27:00 +08:00
Merge pull request #60 from nixprime/to_upstream
add the g:indentLine_setColors option
This commit is contained in:
@@ -60,6 +60,10 @@ if !exists("g:indentLine_faster")
|
|||||||
let g:indentLine_faster = 0
|
let g:indentLine_faster = 0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if !exists("g:indentLine_setColors")
|
||||||
|
let g:indentLine_setColors = 1
|
||||||
|
endif
|
||||||
|
|
||||||
if !exists("g:indentLine_noConcealCursor")
|
if !exists("g:indentLine_noConcealCursor")
|
||||||
set concealcursor=inc
|
set concealcursor=inc
|
||||||
endif
|
endif
|
||||||
@@ -68,6 +72,10 @@ set conceallevel=1
|
|||||||
|
|
||||||
"{{{1 function! <SID>InitColor()
|
"{{{1 function! <SID>InitColor()
|
||||||
function! <SID>InitColor()
|
function! <SID>InitColor()
|
||||||
|
if !g:indentLine_setColors
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
if !exists("g:indentLine_color_term")
|
if !exists("g:indentLine_color_term")
|
||||||
if &bg ==? "light"
|
if &bg ==? "light"
|
||||||
let term_color = 249
|
let term_color = 249
|
||||||
|
|||||||
Reference in New Issue
Block a user