summaryrefslogtreecommitdiffstats
path: root/after/syntax/yaml.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-02-02 21:16:29 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-02-02 21:16:29 +0100
commite685e4b431ab017d1aec9f9668fbeeeb6e7113e6 (patch)
tree47137f448d461ebb6852d81c6f553d0843e33764 /after/syntax/yaml.vim
parente404a658b1647fad396a954776eda0bdabf8353c (diff)
downloadvim-polyglot-e685e4b431ab017d1aec9f9668fbeeeb6e7113e6.tar.gz
vim-polyglot-e685e4b431ab017d1aec9f9668fbeeeb6e7113e6.zip
Update
Diffstat (limited to 'after/syntax/yaml.vim')
-rw-r--r--after/syntax/yaml.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/after/syntax/yaml.vim b/after/syntax/yaml.vim
index 57d9a234..7f4808db 100644
--- a/after/syntax/yaml.vim
+++ b/after/syntax/yaml.vim
@@ -40,7 +40,7 @@ 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 "\w\+\ze\s*:"
+syn match yamlKey "^\s*\zs\S\+\ze\s*:"
syn match yamlAnchor "&\S\+"
syn match yamlAlias "*\S\+"