summaryrefslogtreecommitdiff
path: root/runtime/syntax/yaml.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-04 22:49:24 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-04 22:49:24 +0000
commit0dc065ee7c3bd51e5df3926700e409ae74cdfecf (patch)
tree3e2f974603cbba12d3f1dcebf493e7ff2bf54d7f /runtime/syntax/yaml.vim
parent7d1f5dbc0a254d7524b3f985f2440bf89e037355 (diff)
downloadvim-0dc065ee7c3bd51e5df3926700e409ae74cdfecf.zip
updated for version 7.0102
Diffstat (limited to 'runtime/syntax/yaml.vim')
-rw-r--r--runtime/syntax/yaml.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/yaml.vim b/runtime/syntax/yaml.vim
index 1be00ee3e..5a94fb6f4 100644
--- a/runtime/syntax/yaml.vim
+++ b/runtime/syntax/yaml.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: YAML (YAML Ain't Markup Language)
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
-" Latest Revision: 2005-06-27
+" Latest Revision: 2005-07-04
if exists("b:current_syntax")
finish
@@ -12,8 +12,8 @@ set cpo&vim
syn keyword yamlTodo contained TODO FIXME XXX NOTE
-syn region yamlComment matchgroup=yamlComment start='\%(^\|\s\)#'
- \ end='$' contains=yamlTodo,@Spell
+syn region yamlComment display oneline start='\%(^\|\s\)#' end='$'
+ \ contains=yamlTodo,@Spell
syn match yamlNodeProperty '!\%(![^\\^% ]\+\|[^!][^:/ ]*\)'