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

[bug] color highlight will disappear after colorscheme #36

Open
Freed-Wu opened this issue Sep 23, 2020 · 5 comments
Open

[bug] color highlight will disappear after colorscheme #36

Freed-Wu opened this issue Sep 23, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@Freed-Wu
Copy link

Freed-Wu commented Sep 23, 2020

Reproduce Procedures

" File: $XDG_CONFIG_HOME/nvim/test.vim
" OS: linux v5.4.13
" Vi: nvim v0.4.3
" Py: cpython v3.6.10
" Term: guake v3.7.0
set runtimepath=$VIMRUNTIME,$GITHUBWORKSPACE/neoclide/coc.nvim
set termguicolors
" vi -u $XDG_CONFIG_HOME/nvim/test.vim

ired<Esc>

the word red will become red.

:colorscheme default<CR>

the word red will lose its color.

@chemzqm chemzqm added the enhancement New feature or request label Sep 24, 2020
@chemzqm
Copy link
Member

chemzqm commented Sep 24, 2020

Will improve it.

@g6ai
Copy link

g6ai commented Apr 11, 2021

@chemzqm Is there any command to force re-enable the highlighting for such case? So I can write it into a vimscript function as a workaround. Thanks!

@chemzqm
Copy link
Member

chemzqm commented Apr 12, 2021

Not yet.

@Freed-Wu
Copy link
Author

This bug is similar with vim-utils/vim-troll-stopper#12. Does there exist any highlight default link miss default?

@chemzqm
Copy link
Member

chemzqm commented Oct 15, 2022

It's expected, since the colorshceme command clears all dynamtic highlight groups.

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

No branches or pull requests

3 participants