diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-06-24 15:45:37 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-06-24 15:45:37 +0200 |
| commit | 0ef92c445b389a21471f2666a2cf2dd8c600dadf (patch) | |
| tree | d6c32e7cf8ae7418893268710783ee3eab580473 /.vim | |
| parent | c5faf0153e3249091d8a5500d8e13dde3f9486a7 (diff) | |
| download | dotfiles-0ef92c445b389a21471f2666a2cf2dd8c600dadf.tar.gz dotfiles-0ef92c445b389a21471f2666a2cf2dd8c600dadf.zip | |
Made colorscheme fallback
Diffstat (limited to '.vim')
| -rw-r--r-- | .vim/vimrc | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 "------------------------------------------------------------------------------- |
