Friday, December 16, 2011

Re: sh (bash) syntax for here-document strings: embedding other languages

I hacked at this a while ago, and there's a tip in the wiki

http://vim.wikia.com/wiki/Different_syntax_highlighting_within_regions_of_a_file

And the relevant part of my vimrc (I had to modify it to work well with PHP) starts at line 74

https://github.com/richoH/dotfiles/blob/master/vimrc

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: