Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updating syntax matcher to highlight dollar signs in prototypes

git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1884 980ebf18-57e1-0310-9a29-db15c13687c0
  • Loading branch information...
commit 418b2b92c416b2ffe767a6bc9191700e5c24fa4f 1 parent 2577c86
luke authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 puppet.vim
6 puppet.vim
View
@@ -2,11 +2,10 @@
" Filename: puppet.vim
" Language: puppet configuration file
" Maintainer: Luke Kanies <luke@madstop.com>
-" URL: http://reductivelabs.com/svn/puppet/trunk/ext/vim/puppet.vim
+" URL:
" Last Change:
" Version:
"
-" $Id$
" Copied from the cfengine, ruby, and perl syntax files
" For version 5.x: Clear all syntax items
@@ -22,6 +21,9 @@ syn keyword puppetDefType class define site node inherits contained
syn keyword puppetInherits inherits contained
syn region puppetDefArguments start="(" end=")" contains=puppetArgument
syn match puppetArgument "\w\+" contained
+syn match puppetArgument "\$\w\+" contained
+syn match puppetArgument "'[^']+'" contained
+syn match puppetArgument '"[^"]+"' contained
syn match puppetDefName "\w\+" contained
syn match puppetInstance "\w\+\s*{" contains=puppetTypeBrace,puppetTypeName,puppetTypeDefault
Please sign in to comment.
Something went wrong with that request. Please try again.