diff options
Diffstat (limited to 'runtime/syntax/yaml.vim')
-rw-r--r-- | runtime/syntax/yaml.vim | 6 |
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 '!\%(![^\\^% ]\+\|[^!][^:/ ]*\)' |