These are chat archives for Shougo/dein.vim

19th
Aug 2018
Shougo
@Shougo
Aug 19 2018 04:59
Hm
amikai
@amikai
Aug 19 2018 04:59
I have two colorscheme gruvbox, and vim-hybird-material. I want to set background automatically when switch colorscheme by Denite colorscheme.
Shougo
@Shougo
Aug 19 2018 05:06
I have tested your configuration.
You should use autocmd ColorScheme gruvbox set bg=light instead.
amikai
@amikai
Aug 19 2018 05:10
Thanks
And what's wrong in my original setting
Shougo
@Shougo
Aug 19 2018 05:14
g:colors_name is not set correctly in ColorScheme autocmd
amikai
@amikai
Aug 19 2018 05:16
mm
It still has something wrong. In this setting -> https://github.com/amikai/nvimrc/blob/experiment/plugins.toml. First , I use Denite colorscheme to select gruvbox and set bg=light work. Second i use Denite colorscheme select hybrid-material , but set bg=dark not work
Shougo
@Shougo
Aug 19 2018 05:22
autocmd MyAutoCmd ColorScheme gruvbox set bg=light
autocmd MyAutoCmd ColorScheme hybrid_material set bg=dark
amikai
@amikai
Aug 19 2018 05:23
Sorry XD
Shougo
@Shougo
Aug 19 2018 05:23
the syntax is wrong
amikai
@amikai
Aug 19 2018 05:24
😂
amikai
@amikai
Aug 19 2018 13:40
https://github.com/amikai/nvimrc/blob/experiment/dein_plug.vim#L38 This is my setting, i put the echom in L38. If i repoen twice, the echom not work.
Shougo
@Shougo
Aug 19 2018 13:41
?
You need to source it.
:source dein_plug.vim
Oh, I know where wrong is.
thanks