diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-12-06 12:56:27 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-12-06 12:56:27 +0100 |
commit | dce9e8dec5ef51730291c7bbff3e3997433eabbd (patch) | |
tree | 1ca7140cd4244dfdff3d8d58f936d9dc159c9d4e /after/syntax | |
parent | 30c87b73deff05c7dd9590228c0615a3299f39ff (diff) | |
download | vim-polyglot-dce9e8dec5ef51730291c7bbff3e3997433eabbd.tar.gz vim-polyglot-dce9e8dec5ef51730291c7bbff3e3997433eabbd.zip |
Update
Diffstat (limited to 'after/syntax')
-rw-r--r-- | after/syntax/yaml.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/after/syntax/yaml.vim b/after/syntax/yaml.vim index 89914cbe..b68c4b80 100644 --- a/after/syntax/yaml.vim +++ b/after/syntax/yaml.vim @@ -26,7 +26,7 @@ syn match yamlBlock "[\[\]\{\}\|\>]" syn region yamlComment start="\#" end="$" syn match yamlIndicator "#YAML:\S\+" -syn region yamlString start="'" end="'" skip="\\'" +syn region yamlString start="\%(^\| \)\zs'" end="'\ze\%( \|$\)" skip="\\'" syn region yamlString start='"' end='"' skip='\\"' contains=yamlEscape syn match yamlEscape +\\[abfnrtv'"\\]+ contained syn match yamlEscape "\\\o\o\=\o\=" contained |