Просмотр исходного кода

Merge pull request #67 from isaachess/indentLine-defaults

indentLine defaults only applied if not supplied by user
Pavel Pertsev 10 лет назад
Родитель
Сommit
c526ba9aee
1 измененных файлов с 6 добавлено и 2 удалено
  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: {{{