summaryrefslogtreecommitdiffstats
path: root/ext/vim
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2009-05-29 11:03:07 -0400
committerJames Turnbull <james@lovedthanlost.net>2009-05-30 15:59:30 +1000
commit736b0e4ac86a1380927f267583eb5b86ae8104f8 (patch)
tree94a67d8dff73a2e427b0770cf8ddecf2b515aa04 /ext/vim
parentce01c9569ca7a7b6c2eeb260d5fc8c215e11ac40 (diff)
downloadpuppet-736b0e4ac86a1380927f267583eb5b86ae8104f8.tar.gz
puppet-736b0e4ac86a1380927f267583eb5b86ae8104f8.tar.xz
puppet-736b0e4ac86a1380927f267583eb5b86ae8104f8.zip
vim: Highlight strings in single quotes
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Diffstat (limited to 'ext/vim')
-rw-r--r--ext/vim/syntax/puppet.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/vim/syntax/puppet.vim b/ext/vim/syntax/puppet.vim
index 4c8501280..6659d7c32 100644
--- a/ext/vim/syntax/puppet.vim
+++ b/ext/vim/syntax/puppet.vim
@@ -41,6 +41,7 @@ syn match puppetParen ")"
syn match puppetBrace "{"
syn match puppetBrace "}"
+syn region puppetString start=+'+ skip=+\\\\\|\\'+ end=+'+
syn region puppetString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=puppetVariable
syn keyword puppetBoolean true false