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