Environment:
- OS: macOS 10.15.7 (19H512)
- Vim (
:version): VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 28 2020 12:55:00)
- Terminal: iterm2
If you have a trouble with coloration and are using Vim/Neovim with terminal:
Problem
ALEWarning & ALEInfo don't seem to be cleared properly initially.
:verbose hi ALEWarning
ALEWarning xxx links to SpellCap
Last set from ~/.dotfiles/vim/.vim/plugged/ale/autoload/ale/highlight.vim line 14
:verbose hi ALEInfo
ALEInfo xxx links to ALEWarning
Last set from ~/.dotfiles/vim/.vim/plugged/ale/autoload/ale/highlight.vim line 22
Once a file is opened and all plugins have loaded, if I source $MYVIMRC again, highlights are fixed:
:verbose hi ALEWarning
ALEWarning xxx cleared
Press ENTER or type command to continue
:verbose hi ALEInfo
ALEInfo xxx cleared
Press ENTER or type command to continue
Steps
- Minimal vimrc to reproduce:
set nocp
call plug#begin('~/.vim/plugged')
Plug 'https://github.com/dense-analysis/ale'
Plug 'https://github.com/cocopon/iceberg.vim'
call plug#end()
filetype plugin indent on
set termguicolors
colo iceberg
- open file with ALE warnings/info (highlights should be visible)
- source .vimrc (highlights should disappear)
Screenshots
At first open:

After source .vimrc:

Environment:
:version): VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 28 2020 12:55:00)If you have a trouble with coloration and are using Vim/Neovim with terminal:
:set termguicolors)Problem
ALEWarning&ALEInfodon't seem to be cleared properly initially.Once a file is opened and all plugins have loaded, if I
source $MYVIMRCagain, highlights are fixed:Steps
Screenshots
At first open:
After
source .vimrc: