Lowered the color change percent option default down to 0.05
This commit is contained in:
parent
cc79a2eca9
commit
f802cd2fb5
@ -106,13 +106,13 @@ endfunction
|
|||||||
" colorscheme is being used.
|
" colorscheme is being used.
|
||||||
"
|
"
|
||||||
function! indent_guides#lighten_or_darken_color(color)
|
function! indent_guides#lighten_or_darken_color(color)
|
||||||
let percent = g:indent_guides_auto_colors_change_percent
|
let percent = g:indent_guides_color_change_percent
|
||||||
|
|
||||||
let new_color = (&g:background == 'dark') ?
|
let new_color = (&g:background == 'dark') ?
|
||||||
\ color_helper#hex_color_lighten(a:color, percent) :
|
\ color_helper#hex_color_lighten(a:color, percent) :
|
||||||
\ color_helper#hex_color_darken (a:color, percent)
|
\ color_helper#hex_color_darken (a:color, percent)
|
||||||
|
|
||||||
return new_color
|
return new_color
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
"
|
"
|
||||||
|
@ -56,12 +56,12 @@ Default: 1. Values: 0 or 1.
|
|||||||
let g:indent_guides_auto_colors = 1
|
let g:indent_guides_auto_colors = 1
|
||||||
<
|
<
|
||||||
|
|
||||||
*'indent_guides_auto_colors_change_percent'*
|
*'indent_guides_color_change_percent'*
|
||||||
Use this option to control the percent at which the highlight colors will be
|
Use this option to control the percent at which the highlight colors will be
|
||||||
lightened or darkened.
|
lightened or darkened.
|
||||||
Default: 0.20. Values: between 0 and 1.
|
Default: 0.05. Values: between 0 and 1.
|
||||||
>
|
>
|
||||||
let g:indent_guides_auto_colors_change_percent = 0.20
|
let g:indent_guides_color_change_percent = 0.05
|
||||||
<
|
<
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
@ -27,9 +27,9 @@ let g:indent_guides_auto_colors =
|
|||||||
\ exists('g:indent_guides_auto_colors') ?
|
\ exists('g:indent_guides_auto_colors') ?
|
||||||
\ g:indent_guides_auto_colors : 1
|
\ g:indent_guides_auto_colors : 1
|
||||||
|
|
||||||
let g:indent_guides_auto_colors_change_percent =
|
let g:indent_guides_color_change_percent =
|
||||||
\ exists('g:indent_guides_auto_colors_change_percent') ?
|
\ exists('g:indent_guides_color_change_percent') ?
|
||||||
\ g:indent_guides_auto_colors_change_percent : 0.20
|
\ g:indent_guides_color_change_percent : 0.05
|
||||||
|
|
||||||
let g:indent_guides_debug =
|
let g:indent_guides_debug =
|
||||||
\ exists('g:indent_guides_debug') ?
|
\ exists('g:indent_guides_debug') ?
|
||||||
|
Loading…
Reference in New Issue
Block a user