I wanna highlight boost keyword in my vim
For example, the word 'timer' is in white in original file. And I add the following in my cpp.vim
hi def Boost_keyword term=italic cterm=italic gui=italic guifg=Magenta ctermfg=Magenta
Now it's in magenta in gvim, but not in terminal.
My question,
For GVim, keyword 'timer' is okay.
But how do I change in terminal, same with Gvim?
Remove
term=italic cterm=italic
And I expect this will work. Italics and terminals rarely mix.
Also:
Use only one of "cterm=" OR "ctermfg=" OR "ctermbg="
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.