Closed RhvdG closed 12 months ago
I just tried putting those lines both at the beginning and the end of my config, and it works in both cases.
This means some plugin you have is interfering. Or possibly a colorscheme
call is loading a theme that does weird things.
You could try putting your customizations in a ColorScheme
event handler:
autocmd ColorScheme * highlight Sneak guifg=red guibg=yellow ctermfg=red ctermbg=yellow
autocmd ColorScheme * highlight SneakLabel guifg=red guibg=yellow ctermfg=red ctermbg=yellow
autocmd ColorScheme * highlight SneakScope guifg=red guibg=yellow ctermfg=red ctermbg=yellow
If you have other usage questions you need to post on https://vi.stackexchange.com/
Thanks, the autocmd handler worked.
I haven't been able to identify the guilty plugin. In case this is of interest to anyone, these are my active plugins:
Plug 'romainl/vim-cool' Plug 'kana/vim-textobj-user' Plug 'preservim/vim-textobj-sentence' Plug 'preservim/vim-markdown' Plug 'tpope/vim-commentary' Plug 'tpope/vim-surround' Plug 'tpope/vim-obsession' Plug 'tpope/vim-eunuch' Plug 'unblevable/quick-scope' Plug 'justinmk/vim-sneak' Plug 'tpope/vim-repeat' Plug 'vim-scripts/loremipsum' Plug 'svermeulen/vim-yoink' Plug 'lervag/vimtex' Plug 'osyo-manga/vim-hopping'
I added
to my .vimrc, but am still stuck with white/black first hit, and magenta labels, which put a hurt on my eyes.