Highlight Code Block Backgrounds with Vim
-
23-08-2019 - |
Question
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?
Solution
You can do it in the color scheme
example:
hi htmlTag guifg=#00bdec guibg=#200000 gui=bold
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow