Sfoglia il codice sorgente

IndentLine defaults only applied if not supplied by user

Isaac Hess 10 anni fa
parent
commit
92700c007a
1 ha cambiato i file con 6 aggiunte e 2 eliminazioni
  1. 6 2
      colors/gruvbox.vim

+ 6 - 2
colors/gruvbox.vim

@@ -607,8 +607,12 @@ endif
 " }}}
 " 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: {{{