summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-09-05 16:55:05 -0400
committerJune McEnroe <june@causal.agency>2013-09-05 16:55:05 -0400
commite90b29b8e432a2d218764cb3f63d28b148cc2be9 (patch)
tree4a64e2814ae8e2d51c86a51b6c3e8e0bd82dbfab
parentAdd vim-ragtag (diff)
downloadsrc-e90b29b8e432a2d218764cb3f63d28b148cc2be9.tar.gz
src-e90b29b8e432a2d218764cb3f63d28b148cc2be9.zip
Only set colorscheme for gvim
-rw-r--r--.vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index b0983a87..82cec4e3 100644
--- a/.vimrc
+++ b/.vimrc
@@ -43,8 +43,9 @@ set statusline=%<%f\ %h%m%r%{fugitive#statusline()}%=%-14.(%l,%c%V%)\ %P
 
 syntax on
 set background=dark
-"let base16colorspace=256
-colorscheme base16-default
+if has('gui_running')
+  colorscheme base16-default
+endif
 
 " Enable mouse in terminals
 if has('mouse')