最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - VIM possible to detect multiple languages on same file - Stack Overflow

programmeradmin1浏览0评论

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 badges
Add a ment  | 

1 Answer 1

Reset to default 10

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

发布评论

评论列表(0)

  1. 暂无评论