diff options
Diffstat (limited to 'syntax/ansible.vim')
-rw-r--r-- | syntax/ansible.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/ansible.vim b/syntax/ansible.vim index 2f2d3b83..e6cb1565 100644 --- a/syntax/ansible.vim +++ b/syntax/ansible.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ansible') != -1 + finish +endif + " Vim syntax file " Language: Ansible YAML/Jinja templates " Maintainer: Dave Honneffer <pearofducks@gmail.com> @@ -104,5 +106,3 @@ else endif let b:current_syntax = "ansible" - -endif |