From 56121b4e27cb48efb17be55a969b2f0d725266f8 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 26 Jul 2020 10:20:08 +0200 Subject: Update --- syntax/ansible.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'syntax/ansible.vim') diff --git a/syntax/ansible.vim b/syntax/ansible.vim index 29921b6b..72dc977c 100644 --- a/syntax/ansible.vim +++ b/syntax/ansible.vim @@ -103,6 +103,13 @@ else highlight default link ansible_with_keywords Statement endif +execute 'syn keyword ansible_with_keywords loop containedin='.s:yamlKey.' contained' +if exists("g:ansible_with_keywords_highlight") + execute 'highlight link ansible_with_keywords '.g:ansible_with_keywords_highlight +else + highlight default link ansible_with_keywords Statement +endif + let b:current_syntax = "ansible" endif -- cgit v1.2.3