Reorder package's loads in Vim/Neovim

This commit is contained in:
Dionisio E Alonso 2021-02-26 19:31:41 -03:00
parent 4c2dc7c3b4
commit 0d2f641a83
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,6 @@ if exists('g:colors_name') && g:colors_name == 'aldmeris'
let g:aldmeris_termcolors = 'tango'
endif
packadd onedark.vim
" onedark.vim override: Don't set a background color when running in a
" terminal; just use the terminal's background color
if has('autocmd') && !has('gui_running')
@ -73,4 +72,5 @@ if exists('g:colors_name') && g:colors_name == 'onedark'
set termguicolors
endif
let g:onedark_terminal_italics = v:true
packadd onedark.vim
endif

View File

@ -50,7 +50,6 @@ if exists('g:colors_name') && g:colors_name == 'aldmeris'
let g:aldmeris_termcolors = 'tango'
endif
packadd onedark.vim
" onedark.vim override: Don't set a background color when running in a
" terminal; just use the terminal's background color
if has('autocmd') && !has('gui_running')
@ -60,6 +59,7 @@ if has('autocmd') && !has('gui_running')
\ call onedark#extend_highlight('Normal', {'bg': {'gui': 'NONE'}})
augroup END
endif
packadd onedark.vim
silent! colorscheme onedark
if exists('g:colors_name') && g:colors_name == 'onedark'
if has('termguicolors')