summaryrefslogtreecommitdiffstats
path: root/syntax/ansible.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/ansible.vim')
-rw-r--r--syntax/ansible.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/syntax/ansible.vim b/syntax/ansible.vim
index 539594db..29921b6b 100644
--- a/syntax/ansible.vim
+++ b/syntax/ansible.vim
@@ -62,7 +62,7 @@ fun! s:attribute_highlight(attributes)
elseif a:attributes =~ 'd'
highlight link ansible_attributes Comment
else
- highlight link ansible_attributes Structure
+ highlight default link ansible_attributes Structure
endif
endfun
@@ -77,12 +77,12 @@ if exists("g:ansible_name_highlight")
if g:ansible_name_highlight =~ 'd'
highlight link ansible_name Comment
else
- highlight link ansible_name Underlined
+ highlight default link ansible_name Underlined
endif
endif
execute 'syn keyword ansible_debug_keywords debug containedin='.s:yamlKey.' contained'
-highlight link ansible_debug_keywords Debug
+highlight default link ansible_debug_keywords Debug
if exists("g:ansible_extra_keywords_highlight")
execute 'syn keyword ansible_extra_special_keywords register always_run changed_when failed_when no_log args vars delegate_to ignore_errors containedin='.s:yamlKey.' contained'
@@ -93,14 +93,14 @@ execute 'syn keyword ansible_normal_keywords include include_tasks import_tasks
if exists("g:ansible_normal_keywords_highlight")
execute 'highlight link ansible_normal_keywords '.g:ansible_normal_keywords_highlight
else
- highlight link ansible_normal_keywords Statement
+ highlight default link ansible_normal_keywords Statement
endif
execute 'syn match ansible_with_keywords "\vwith_.+" containedin='.s:yamlKey.' contained'
if exists("g:ansible_with_keywords_highlight")
execute 'highlight link ansible_with_keywords '.g:ansible_with_keywords_highlight
else
- highlight link ansible_with_keywords Statement
+ highlight default link ansible_with_keywords Statement
endif
let b:current_syntax = "ansible"