diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/plugins.vim | 3 | ||||
| -rw-r--r-- | core/ui.vim | 19 |
2 files changed, 20 insertions, 2 deletions
diff --git a/core/plugins.vim b/core/plugins.vim index b3f9dbb..8ee0ee0 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -373,8 +373,7 @@ endif """""""""""""""""""""""""""vim-airline setting"""""""""""""""""""""""""""""" " Set airline theme to a random one if it exists let s:candidate_airlinetheme = ['ayu_mirage', 'lucius', 'ayu_dark', 'base16_bright', - \ 'base16_adwaita', 'raven', 'term', 'gruvbox_material', 'deus', 'edge', 'onedark', - \ 'sonokai'] + \ 'base16_adwaita', 'raven', 'term', 'deus', 'onedark'] let s:idx = utils#RandInt(0, len(s:candidate_airlinetheme)-1) let s:theme = s:candidate_airlinetheme[s:idx] let g:airline_theme=s:theme diff --git a/core/ui.vim b/core/ui.vim index a1723f0..123e794 100644 --- a/core/ui.vim +++ b/core/ui.vim @@ -3,6 +3,8 @@ let s:my_theme_dict = {} function! s:my_theme_dict.gruvbox8() dict abort + packadd! vim-gruvbox8 + " Italic options should be put before colorscheme setting, " see https://github.com/morhetz/gruvbox/wiki/Terminal-specific#1-italics-is-disabled let g:gruvbox_italics=1 @@ -13,42 +15,57 @@ function! s:my_theme_dict.gruvbox8() dict abort endfunction function! s:my_theme_dict.deus() dict abort + packadd! vim-deus + colorscheme deus endfunction function! s:my_theme_dict.solarized8() dict abort + packadd! vim-solarized8 let g:solarized_term_italics=1 let g:solarized_visibility='high' colorscheme solarized8_high endfunction function! s:my_theme_dict.onedark() dict abort + packadd! onedark.nvim + colorscheme onedark endfunction function! s:my_theme_dict.edge() dict abort + packadd! edge + let g:edge_enable_italic = 1 let g:edge_better_performance = 1 colorscheme edge endfunction function! s:my_theme_dict.sonokai() dict abort + packadd! sonokai + let g:sonokai_enable_italic = 1 let g:sonokai_better_performance = 1 colorscheme sonokai endfunction function! s:my_theme_dict.gruvbox_material() dict abort + packadd! gruvbox-material + let g:gruvbox_material_enable_italic = 1 let g:gruvbox_material_better_performance = 1 colorscheme gruvbox-material endfunction function! s:my_theme_dict.nord() dict abort + packadd! nord.nvim + colorscheme nord endfunction function! s:my_theme_dict.doom_one() dict abort + packadd! doom-one.nvim + let g:doom_one_terminal_color = v:true let g:doom_one_italic_comments = v:true let g:doom_one_cursor_coloring = v:true @@ -56,6 +73,8 @@ function! s:my_theme_dict.doom_one() dict abort endfunction function! s:my_theme_dict.everforest() dict abort + packadd! everforest + let g:everforest_enable_italic = 1 let g:everforest_better_performance = 1 colorscheme everforest |
