Tuesday, July 12, 2016

Re: Disable ALL bold font in gvim on windows ?

On Tue, Jul 12, 2016 at 7:22 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:
> On Tuesday, July 12, 2016 at 11:03:55 AM UTC-5, skywind3000@163.com wrote:
>> Hi, All
>>
>>
>> Is there a simply way to get all bold font disappeared (gvim under windows ) ?
>> Having searched a lot for solutions, I found NONE of them can actually work.
>>
>>
>> solution 1: make a copy of colorscheme file & modify it remove 'gui=bold' attribute.
>> problem: keyword 'bold' just cannot be found in my colorscheme: seoul256.vim
>>
>>
>
> I think you don't just need to remove all 'bold' specification, you need to explicitly reset it, as noted in :help bold, for example with "highlight Pmenu guibg=darkgrey guifg=black gui=NONE"
>

IIUC gui=NONE should go before any of guibg= guifg= guisp= because
attributes are applied in the order found. If you put gui=NONE at the
end it would (IIUC) clear all the rest. OTOH if you want to use
italics you can use gui=NONE,italic

Best regards,
Tony.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: