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

after loading a new colorscheme, the highlight will disappear. #35

Closed
Freed-Wu opened this issue May 26, 2020 · 2 comments
Closed

after loading a new colorscheme, the highlight will disappear. #35

Freed-Wu opened this issue May 26, 2020 · 2 comments

Comments

@Freed-Wu
Copy link
Contributor

this is a test.vim

if !has('nvim')
	set nocompatible
endif
set runtimepath +=$GITHUBWORKSPACE/skywind3000/vim-quickui
	let g:quickui_show_tip = 1
	call quickui#menu#reset()
	call quickui#menu#install('Pla&y', [
				\ ['--', ''],
				\ ['Eas&y', 'SudokuEasy'],
				\ ['Medi&um', 'SudokuMedium'],
				\ ['Har&d', 'SudokuHard'],
				\ ['&VeryHard', 'SudokuVeryHard'],
				\ ])

then gvim -u test.vim
image
colorscheme default
image

thanks!

@Freed-Wu
Copy link
Contributor Author

by now, i use the following temporary solution:

autocmd Colorscheme * call QuickThemeChange(get(g:, 'quickui_color_scheme', ''))

add this code to vimrc can avoid this problem.
perhaps add it to vim-quickui/plugin/quickui.vim will be better?

skywind3000 added a commit that referenced this issue Aug 10, 2020
@arozehnal
Copy link

OS AIX 7.2
VIM 9.0, quickui_version = '1.4.3'
TERM=xterm-256color
same trouble

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

No branches or pull requests

2 participants