Vim Tips Wiki
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 140: Line 140:
 
-----------
 
-----------
   
  +
I like to use vim to edit PHP projects by running it in the project root. Then all commands which deal with the file system will be relative from the root. This is a necessity of using things such as ctags. However, that means this syntax checking wont work on files outside the project root directory as the php -l function cant find the file. I dont know enough about vim to know if there is a combination of settings which would get around this. Can anyone help?
βˆ’
if you are having problems with make and file paths, try using lmake instead
 
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)