Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VIM possible to detect multiple languages on same file

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.

like image 694
Helmut Granda Avatar asked Jan 09 '12 04:01

Helmut Granda


1 Answers

Take a look at the Different syntax highlighting within regions of a file Vim Wikia tip.

like image 95
Jason Down Avatar answered Nov 15 '22 14:11

Jason Down



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!