On Fri, 1 Dec 2006, Yakov Lerner wrote:

Also can be that leading '/' in "/includes/some.file" makes
vim believe this is absolute pathname. Try on
     Include("includes/some.file");

That's where I want to get advice... That notation using DocumentRoot like "/includes/some.file" is universal in web applications.

If I can temporarily change the buffer and trick vim to think the line is now

        Include("includes/some.file")

it's somewhat OK, but gf requires me to actually save the source file before it will accept the change from "/includes..." to "includes".

There are situations I cannot save it, e.g. if the source is on a live server, during the time this is changed, the web server will not be able to find the file and will generate errors.

It's ok if there's no way as is. I'll prehaps look at recompiling.


Thanks.

Ben K.
Developer
http://benix.tamu.edu

Reply via email to