We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b712d42 commit 0e44fe1Copy full SHA for 0e44fe1
after/syntax/yaml.vim
@@ -40,7 +40,7 @@ syn keyword yamlConstant NULL Null null NONE None none NIL Nil nil
40
syn keyword yamlConstant TRUE True true YES Yes yes ON On on
41
syn keyword yamlConstant FALSE False false NO No no OFF Off off
42
43
-syn match yamlKey "^\s*\zs[^ \t\"#]\+\ze\s*:"
+syn match yamlKey "^\s*\zs[^ \t\"\'#]\+\ze\s*:"
44
syn match yamlKey "^\s*-\s*\zs[^ \t\"\'#]\+\ze\s*:"
45
syn match yamlAnchor "&\S\+"
46
syn match yamlAlias "*\S\+"
0 commit comments