summaryrefslogtreecommitdiffstats
path: root/after/syntax
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-05-17 11:07:28 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2017-05-17 11:07:28 +0200
commitaf870100716f20ee4daef9cc527a9ecf41b54114 (patch)
tree0859464c3145682cbfc29ad08de4527dd661abf7 /after/syntax
parentef369d45a505403587ea0bae30ce6768ba51398c (diff)
downloadvim-polyglot-af870100716f20ee4daef9cc527a9ecf41b54114.tar.gz
vim-polyglot-af870100716f20ee4daef9cc527a9ecf41b54114.zip
Update
Diffstat (limited to 'after/syntax')
-rw-r--r--after/syntax/yaml.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/after/syntax/yaml.vim b/after/syntax/yaml.vim
index 78983cc2..d429da68 100644
--- a/after/syntax/yaml.vim
+++ b/after/syntax/yaml.vim
@@ -38,8 +38,8 @@ syn keyword yamlConstant NULL Null null NONE None none NIL Nil nil
syn keyword yamlConstant TRUE True true YES Yes yes ON On on
syn keyword yamlConstant FALSE False false NO No no OFF Off off
-syn match yamlKey "^\s*\zs\S\+\ze\s*:"
-syn match yamlKey "^\s*-\s*\zs\S\+\ze\s*:"
+syn match yamlKey "^\s*\zs[^ \t\"]\+\ze\s*:"
+syn match yamlKey "^\s*-\s*\zs[^ \t\"]\+\ze\s*:"
syn match yamlAnchor "&\S\+"
syn match yamlAlias "*\S\+"