Thursday, July 1, 2010

include option

I'm trying to make vim look inside php include files. A php include
statement can be:

include 'file.php'

OR

include_once 'file.php'

It works if I do:

set include=^include

OR

include=^include_once

But I can't seem to do recognize both. This doesn't work:

set include=^\(include\|include_once\)

Thanks!

--
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: