Skip to content

Commit 2415d8b

Browse files
committed
Merge branch 'graywh-issue5'
* graywh-issue5: Removed unnecessary exe calls for default highlights Don't clobber pre-set custom colors.
2 parents 3cd1b09 + fa67d46 commit 2415d8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/indent_guides.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ endfunction
152152
" Define default highlights.
153153
"
154154
function! indent_guides#define_default_highlights()
155-
exe 'hi IndentGuidesOdd guibg=NONE ctermbg=NONE'
156-
exe 'hi IndentGuidesEven guibg=NONE ctermbg=NONE'
155+
hi default clear IndentGuidesOdd
156+
hi default clear IndentGuidesEven
157157
endfunction
158158

159159
"

0 commit comments

Comments
 (0)