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.
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.
Share Improve this question asked Jan 9, 2012 at 4:55 Helmut GrandaHelmut Granda 4,7137 gold badges37 silver badges54 bronze badges1 Answer
Reset to default 10Take a look at the Different syntax highlighting within regions of a file
Vim Wikia tip.