Tuesday, February 23, 2010

Re: minor mode?

On Tue, 23 Feb 2010 16:33:29 -0300
Vitor Eiji Justus Sakaguti <vitoreiji@usp.br> wrote:


>
> Yes, it it possible.
>
> syntax include @python $VIMRUNTIME/syntax/python.vim
> syntax region pythonCode start="Python Code:" end="The End"
> contains=@python
>
> You can change "Python Code:" and "The End" into whatever you use to
> delimit the code region.
>
> See
> :help syn-include
>


Great. Thanks a lot. That was what I was after.


--
Manfred

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment