php.vim syntax file
Antony Scriven
adscriven at gmail.com
Thu May 17 09:34:34 UTC 2007
Dear php.vim syntax file maintainers,
Please consider the following addition to php.vim.
It adds folding to phpDoc comments. --Antony
" Vim syntax file
" Language: php PHP 3/4/5
" Maintainer: Debian VIM Maintainers
<pkg-vim-maintainers at lists.alioth.debian.org>
" Former Maintainer: Lutz Eymers <ixtab at polzin.com>
" Last Change: $LastChangedDate: 2006-04-16 22:06:40 -0400 (dom, 16 apr 2006) $
" URL: http://svn.debian.org/wsvn/pkg-vim/trunk/runtime/syntax/php.vim?op=file&rev=0&sc=0
[...]
" Comment [line 317]
if exists("php_parent_error_open")
syn region phpComment start="/\*" end="\*/" contained contains=phpTodo fold
syn region phpComment start="/\*\*" end="\*/" contained contains=phpTodo fold
else
syn region phpComment start="/\*" end="\*/" contained
contains=phpTodo extend fold
syn region phpComment start="/\*\*" end="\*/" contained
contains=phpTodo extend fold
endif
--
Antony Scriven <adscriven at gmail.com>
More information about the pkg-vim-maintainers
mailing list