Reputation: 4685
Is VIM able to detect multiple languages on same file? Sometimes I am prototyping and I dump HTML/CSS/JS/PHP on the same page and to use the right language I must run : setf xlangx.
Upvotes: 9
Views: 1065
Reputation: 22161
Take a look at the Different syntax highlighting within regions of a file
Vim Wikia tip.
Upvotes: 10