modethirteen
modethirteen

Reputation: 53

Highlight Code Block Backgrounds with Vim

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?

Upvotes: 3

Views: 1704

Answers (1)

markuz
markuz

Reputation: 919

You can do it in the color scheme

example:

hi htmlTag          guifg=#00bdec   guibg=#200000            gui=bold

Upvotes: 6

Related Questions