Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALEWarning and ALEInfo highlights are not cleared properly #87

Open
2 tasks done
pbnj opened this issue Feb 12, 2021 · 0 comments
Open
2 tasks done

ALEWarning and ALEInfo highlights are not cleared properly #87

pbnj opened this issue Feb 12, 2021 · 0 comments

Comments

@pbnj
Copy link

pbnj commented Feb 12, 2021

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:

  • Does your Vim support full colors? (:set termguicolors)
  • Does your terminal support full colors? (e.g. Terminal.app doesn't support it)

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:

Screen Shot 2021-02-12 at 2 21 43 PM

After source .vimrc:

Screen Shot 2021-02-12 at 2 22 27 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant