PHPcollection : PHP Collection contains: compiler, ftplugin, script for K key, dicts
script karma |
Rating 61/24,
Downloaded by 5092 |
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 <[email protected]> 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
<[email protected]>
|
|
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)
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|