aboutsummaryrefslogtreecommitdiff
path: root/.vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vim/vimrc')
-rw-r--r--.vim/vimrc11
1 files changed, 9 insertions, 2 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index 4142fe2..a5dec2e 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -366,9 +366,16 @@ command! -bang FM call fzf#run(fzf#wrap({'source': 'cat ~/.fzf-marks | sed "s/.*
"colorscheme badwolf
"let g:badwolf_darkgutter = 0 " Make the gutters darker than the background. Default 0.
"let g:badwolf_tabline = 1 " 1 is default, 0 is lighter and 2 or 3 is darker a tabline
-colorscheme onedark
+
+" Try to use a colorscheme plugin
+" but fallback to a default one
+try
+ colorscheme gruvbox
+catch /^Vim\%((\a\+)\)\=:E185/
+ " no plugins available
+ colorscheme elflord
+endtry
highlight Normal guibg=NONE
-"highlight Normal guibg=none
"set background=dark
"-------------------------------------------------------------------------------