Hello,

gVim Windows x64 daily version (currently 8.2.4428).

For 'statusline', restore normal highlight %0* or %* will cause the items
inside an item group %(%) to fail.

Example:
highlight StatusLine and StatusLineNC are defined.
Highlight groups User1 to User9 are defined.
'Hello' is just to represent a %{} result.
1) 'set statusline=:\ %3*Hello%2*:' works
2) 'set statusline=:%(\ %3*Hello%2*%):' works
3) 'set statusline=:\ %3*Hello%0*:' works
4) 'set statusline=:%(\ %3*Hello%0*%):' does not work

A workaround is to set a UserN group same as StatusLine and use %N* instead of
%0*.

Thanks,
Samson

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220221094326.00003609%40cfl.rr.com.

Raspunde prin e-mail lui