瀏覽代碼

IndentLine defaults only applied if not supplied by user

Isaac Hess 10 年之前
父節點
當前提交
92700c007a
共有 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: {{{