From 89bd2373b585f01d1ed4963d0422f5c5af41ec50 Mon Sep 17 00:00:00 2001 From: BlackEagle Date: Tue, 27 Aug 2013 16:43:02 +0200 Subject: [PATCH] use vimrc defined g:pdv_cfg_ClassTags In you .vimrc, you can also specify the tags and the order they appear for class docblocks: let g:pdv_cfg_ClassTags = ["package","author","version"] Signed-off-by: BlackEagle --- ftplugin/php_documentor.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ftplugin/php_documentor.vim b/ftplugin/php_documentor.vim index d3d1bfb..3216699 100644 --- a/ftplugin/php_documentor.vim +++ b/ftplugin/php_documentor.vim @@ -102,7 +102,9 @@ let g:pdv_cfg_License = (exists("g:pdv_cfg_License")) ? g:pdv_cfg_License : "lic let g:pdv_cfg_Version = (exists("g:pdv_cfg_Version")) ? g:pdv_cfg_Version : "$Id$" " Set the order and inclusion of tags for classes -let g:pdv_cfg_ClassTags = ["package","author","version"] +if ! exists('g:pdv_cfg_ClassTags') + let g:pdv_cfg_ClassTags = ["package","author","version"] +endif " Default var type let g:pdv_cfg_Type = "mixed"