Highlight Code Block Backgrounds with Vim

2019-07-04 01:09发布

While I am working in Vim I'd like to have a slight background color change for all code inside the php tags. So for example, the background is solid black for regular XHTML markup, then displays slighly lighter inside the php tags to help me identify it quickly. Is this something I can/should do with the color scheme or is there another method?

1条回答
地球回转人心会变
2楼-- · 2019-07-04 01:45

You can do it in the color scheme

example:

hi htmlTag          guifg=#00bdec   guibg=#200000            gui=bold
查看更多
登录 后发表回答