summaryrefslogtreecommitdiffstats
path: root/ftplugin/ansible.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/ansible.vim')
-rw-r--r--ftplugin/ansible.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/ansible.vim b/ftplugin/ansible.vim
index 5f2f3f74..491cd803 100644
--- a/ftplugin/ansible.vim
+++ b/ftplugin/ansible.vim
@@ -1,10 +1,10 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ansible') != -1
+ finish
+endif
+
" Slow yaml highlighting workaround
if exists('+regexpengine') && ('&regexpengine' == 0)
setlocal regexpengine=1
endif
set isfname+=@-@
set path+=./../templates,./../files,templates,files
-
-endif