Skip to content

Commit

Permalink
Vim: Prevent errors in older vims, with no termguicolors
Browse files Browse the repository at this point in the history
Amendment to #9.
  • Loading branch information
wookayin committed Oct 10, 2017
1 parent 2d2f838 commit 4fafee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ call s:auto_termguicolors()
silent! colorscheme xoria256

" airline theme: status line and tab line
if &termguicolors
if has("termguicolors") && &termguicolors
let g:airline_theme='deus'
else
let g:airline_theme='bubblegum'
Expand Down

0 comments on commit 4fafee9

Please sign in to comment.