Explorar o código

IndentLine defaults only applied if not supplied by user

Isaac Hess %!s(int64=11) %!d(string=hai) anos
pai
achega
92700c007a
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      colors/gruvbox.vim

+ 6 - 2
colors/gruvbox.vim

@@ -607,8 +607,12 @@ endif
 " }}}
 " }}}
 " IndentLine: {{{
 " IndentLine: {{{
 
 
-let g:indentLine_color_term = s:gb.dark2[1]
-let g:indentLine_color_gui = '#' . s:gb.dark2[0]
+if !exists('g:indentLine_color_term')
+	let g:indentLine_color_term = s:gb.dark2[1]
+endif
+if !exists('g:indentLine_color_gui')
+	let g:indentLine_color_gui = '#' . s:gb.dark2[0]
+endif
 
 
 " }}}
 " }}}
 " Rainbow Parentheses: {{{
 " Rainbow Parentheses: {{{