mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-20 01:13:41 -05:00
Run scripts/build with changes
This commit is contained in:
@@ -5,7 +5,7 @@ endif
|
||||
" Vim syntax file
|
||||
" Language: Ansible YAML/Jinja templates
|
||||
" Maintainer: Dave Honneffer <pearofducks@gmail.com>
|
||||
" Last Change: 2018.02.08
|
||||
" Last Change: 2023.10.29
|
||||
|
||||
if !exists("main_syntax")
|
||||
let main_syntax = 'yaml'
|
||||
@@ -103,6 +103,13 @@ if exists("g:ansible_extra_keywords_highlight")
|
||||
endif
|
||||
endif
|
||||
|
||||
execute 'syn keyword ansible_fqcn_keywords ansible builtin ansible.builtin. containedin='.s:yamlKey.' contained'
|
||||
if exists("g:ansible_fqcn_highlight")
|
||||
execute 'highlight link ansible_fqcn_keywords '.g:ansible_fqcn_highlight
|
||||
else
|
||||
highlight default link ansible_fqcn_keywords Statement
|
||||
endif
|
||||
|
||||
execute 'syn keyword ansible_normal_keywords
|
||||
\ include include_role include_tasks include_vars import_role import_playbook import_tasks
|
||||
\ when changed_when failed_when block rescue always notify listen register
|
||||
|
||||
Reference in New Issue
Block a user