Skip to content

Commit

Permalink
Issue 102 - Release 0.4.7
Browse files Browse the repository at this point in the history
- Fix syntax error in generated code
- Add global snippet to create agent skeletons
  • Loading branch information
The Marionette Collective committed Jun 27, 2010
1 parent 370e74e commit 3ee4b84
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions ext/vim/_.snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
snippet mcagent
module MCollective
module Agent
class ${1:Agentname}<RPC::Agent
metadata :name => "${2:`Filename('', 'name')`}",
:description => "${3:description}",
:author => "${4:`g:snips_author`}",
:license => "${5:license}",
:version => "${6:version}",
:url => "${7:homepage}",
:timeout => ${8:run timeout}

action "${9:action name}" do
${10}
end
end
end
end
4 changes: 2 additions & 2 deletions ext/vim/mcollective_ddl.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ snippet input List
${6}
snippet output
output ${1:output name},
:description => "${2:description of this output data},
:display_as => "${3:what do display}
:description => "${2:description of this output data}",
:display_as => "${3:what do display}"

${4}
snippet display Always
Expand Down

0 comments on commit 3ee4b84

Please sign in to comment.