sponsor Vim development Vim logo Vim Book Ad

PHPcollection : PHP Collection contains: compiler, ftplugin, script for K key, dicts

 script karma  Rating 61/24, Downloaded by 4952  Comments, bugs, improvements  Vim wiki

created by
Mikolaj Machowski
 
script type
utility
 
description
PHP Collection contains 3 files and 2 links:
compiler, ftplugin, script for use with 'keywordprg' and PHP
manual, links to vim dictionaries of PHP functions and prototypes.

I. PHP compiler (cphp.vim)
Requirements:
1. PHP compiled as cgi
2. bash
3. grep compatible tool :help grep
4. standard message error from PHP (it doesn't use debugger) :help
compiler
Help:
:make <file_name> <QUERY_STRING>

II. PHP ftplugin (php.vim)
Inspired by Christopher Swingley I add some things and put it in
ftplugin file.
First part is ``objective'' and contains only important(?) settings. In
second are some useful options commented by default.

III. Bash script for 'keywordprg' option. (phpmanual.sh)
Written by Leszek Krupinski <leszek@php.net> for use with K.
Default settings points to lynx and directory where Mkd8.2 puts
php-manual rpm.

IV. Links. Both dictionaries where created by Leszek Krupinski
Dictionary of PHP functions:
http://www.leon.w-wa.pl/texts/phpfunclist
Dictionary of PHP prototypes:
http://www.leon.w-wa.pl/texts/phpproto

Thanks for Doug Kearns, Leszek Krupinski and Christopher Swingley

All faults are only mine.

Mikolaj Machowski
<mikmach@wp.pl>
 
install details
1. Rename cphp.vim as php.vim and place it in
.vim/compiler/
2. Place it in
.vim/ftplugin/
3. Make script executable and place it in eg.
.vim/external/         (suggested in php.vim)
4. You could place dictionaries in eg.
.vim/dictionaries/     (suggested in php.vim)
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
phpcollection.zip 0.2 2003-01-05 6.0 Stephen Thorne Updated 2003-01-06 by Stephen Thorne <stephen@mu.com.au> to use php4's 'lint' filter, instead of executing a php file with a query string. The format of errors had changed since the original version too, so the error string was modified.
php.zip 0.1.1 2002-07-02 6.0 Mikolaj Machowski Small changes in README file:
added manual to compiler.
php.zip 0.1 2002-07-01 6.0 Mikolaj Machowski Initial upload
ip used for rating: 3.140.186.241

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github