summaryrefslogtreecommitdiffstats
path: root/syntax/ansible.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-27 19:47:32 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-27 19:47:32 +0200
commitf95026252c5a31242903a98c741887696dfbb11f (patch)
treecd697cdc96c20a44f03ff3aacc67f78fdcc6ece5 /syntax/ansible.vim
parent4f3df59be709bf0d5c5c67dc804fde49abdc2700 (diff)
downloadvim-polyglot-f95026252c5a31242903a98c741887696dfbb11f.tar.gz
vim-polyglot-f95026252c5a31242903a98c741887696dfbb11f.zip
Update everything, closes #435
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"