From 586164d8d0e273c782c5479f945109d4a8b9ef8e Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 16 Sep 2008 22:28:17 +0000 Subject: [PATCH] rfe: VIM perl mode for skeletons --- docs/changelog/7.x.x.txt | 1 + docs/upgrades/_upgrade.skeleton | 1 + lib/WebGUI/Asset/Template/_parser.skeleton | 1 + lib/WebGUI/Asset/Wobject/_NewWobject.skeleton | 1 + lib/WebGUI/Asset/_NewAsset.skeleton | 1 + lib/WebGUI/Content/_content.skeleton | 2 +- lib/WebGUI/Form/_control.skeleton | 2 +- lib/WebGUI/Help/_help.skeleton | 1 + lib/WebGUI/Macro/_macro.skeleton | 2 +- lib/WebGUI/URL/_url.skeleton | 2 +- lib/WebGUI/Workflow/Activity/_activity.skeleton | 2 +- lib/WebGUI/i18n/English/_i18n.skeleton | 1 + lib/WebGUI/i18n/_language.skeleton | 1 + sbin/_utility.skeleton | 2 ++ t/_test.skeleton | 1 + t/_test.skeleton.mech | 1 + 16 files changed, 17 insertions(+), 5 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 98335d46f..f17b5a3ed 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -62,6 +62,7 @@ - rfe: Move hardcoded words to i18n - rfe: Better info for Assets that require commit before adding children. Add link is always availble now. If the asset has not yet been committed an error is displayed. - rfe: Add template variables for every property of all assets referenced in the Navigation. + - rfe: VIM perl mode for skeletons - rfe: Add edit button to Manage Revisions page 7.5.22 diff --git a/docs/upgrades/_upgrade.skeleton b/docs/upgrades/_upgrade.skeleton index ccf176626..9188c51f0 100644 --- a/docs/upgrades/_upgrade.skeleton +++ b/docs/upgrades/_upgrade.skeleton @@ -104,3 +104,4 @@ sub updateTemplates { } } +#vim:ft=perl diff --git a/lib/WebGUI/Asset/Template/_parser.skeleton b/lib/WebGUI/Asset/Template/_parser.skeleton index 795ee3ff0..23d70baa0 100755 --- a/lib/WebGUI/Asset/Template/_parser.skeleton +++ b/lib/WebGUI/Asset/Template/_parser.skeleton @@ -57,3 +57,4 @@ sub process { 1; +#vim:ft=perl diff --git a/lib/WebGUI/Asset/Wobject/_NewWobject.skeleton b/lib/WebGUI/Asset/Wobject/_NewWobject.skeleton index 994d53751..11eba08f3 100644 --- a/lib/WebGUI/Asset/Wobject/_NewWobject.skeleton +++ b/lib/WebGUI/Asset/Wobject/_NewWobject.skeleton @@ -239,3 +239,4 @@ sub uninstall { 1; +#vim:ft=perl diff --git a/lib/WebGUI/Asset/_NewAsset.skeleton b/lib/WebGUI/Asset/_NewAsset.skeleton index aa20a798f..65bf708d5 100644 --- a/lib/WebGUI/Asset/_NewAsset.skeleton +++ b/lib/WebGUI/Asset/_NewAsset.skeleton @@ -317,3 +317,4 @@ sub uninstall { 1; +#vim:ft=perl diff --git a/lib/WebGUI/Content/_content.skeleton b/lib/WebGUI/Content/_content.skeleton index e53b04e40..5bfa10ddd 100644 --- a/lib/WebGUI/Content/_content.skeleton +++ b/lib/WebGUI/Content/_content.skeleton @@ -52,4 +52,4 @@ sub handler { } 1; - +#vim:ft=perl diff --git a/lib/WebGUI/Form/_control.skeleton b/lib/WebGUI/Form/_control.skeleton index 11e1fd140..69a1ac199 100644 --- a/lib/WebGUI/Form/_control.skeleton +++ b/lib/WebGUI/Form/_control.skeleton @@ -110,4 +110,4 @@ sub toHtml { } 1; - +#vim:ft=perl diff --git a/lib/WebGUI/Help/_help.skeleton b/lib/WebGUI/Help/_help.skeleton index b6985b619..442435202 100644 --- a/lib/WebGUI/Help/_help.skeleton +++ b/lib/WebGUI/Help/_help.skeleton @@ -48,3 +48,4 @@ our $HELP = { }; 1; ##All perl modules must return true +#vim:ft=perl diff --git a/lib/WebGUI/Macro/_macro.skeleton b/lib/WebGUI/Macro/_macro.skeleton index 21879a64a..6784d98a1 100644 --- a/lib/WebGUI/Macro/_macro.skeleton +++ b/lib/WebGUI/Macro/_macro.skeleton @@ -51,4 +51,4 @@ sub process { 1; - +#vim:ft=perl diff --git a/lib/WebGUI/URL/_url.skeleton b/lib/WebGUI/URL/_url.skeleton index 790065329..4cd54cdb7 100644 --- a/lib/WebGUI/URL/_url.skeleton +++ b/lib/WebGUI/URL/_url.skeleton @@ -52,4 +52,4 @@ sub handler { } 1; - +#vim:ft=perl diff --git a/lib/WebGUI/Workflow/Activity/_activity.skeleton b/lib/WebGUI/Workflow/Activity/_activity.skeleton index 8233e824d..9d62c41bc 100644 --- a/lib/WebGUI/Workflow/Activity/_activity.skeleton +++ b/lib/WebGUI/Workflow/Activity/_activity.skeleton @@ -90,4 +90,4 @@ sub execute { 1; - +#vim:ft=perl diff --git a/lib/WebGUI/i18n/English/_i18n.skeleton b/lib/WebGUI/i18n/English/_i18n.skeleton index e2b534f0e..8b6dd1ddb 100644 --- a/lib/WebGUI/i18n/English/_i18n.skeleton +++ b/lib/WebGUI/i18n/English/_i18n.skeleton @@ -18,3 +18,4 @@ our $I18N = { ##hashref of hashes }; 1; +#vim:ft=perl diff --git a/lib/WebGUI/i18n/_language.skeleton b/lib/WebGUI/i18n/_language.skeleton index 6ef3e4a31..ea763a9d8 100644 --- a/lib/WebGUI/i18n/_language.skeleton +++ b/lib/WebGUI/i18n/_language.skeleton @@ -25,3 +25,4 @@ sub makeUrlCompliant { # you have to have this method, but it can do URL trans 1; +#vim:ft=perl diff --git a/sbin/_utility.skeleton b/sbin/_utility.skeleton index a697236ed..648df63d8 100644 --- a/sbin/_utility.skeleton +++ b/sbin/_utility.skeleton @@ -102,3 +102,5 @@ Shows this documentation, then exits. Copyright 2001-2008 Plain Black Corporation. =cut + +#vim:ft=perl diff --git a/t/_test.skeleton b/t/_test.skeleton index 19cf7bbb8..97758758a 100644 --- a/t/_test.skeleton +++ b/t/_test.skeleton @@ -39,3 +39,4 @@ plan tests => 1; # Increment this number for each test you create END { } +#vim:ft=perl diff --git a/t/_test.skeleton.mech b/t/_test.skeleton.mech index 1efeac294..90f379d23 100644 --- a/t/_test.skeleton.mech +++ b/t/_test.skeleton.mech @@ -119,3 +119,4 @@ sub getMechLogin { return $mech; } +#vim:ft=perl