summaryrefslogtreecommitdiffstats
path: root/ftplugin/ansible.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-12-17 10:48:07 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2015-12-17 10:48:07 +0100
commitde3110b733880502b23faf9af4d450f22a4b15f7 (patch)
treedd18074c197a91640abb246ec158dc1895d980be /ftplugin/ansible.vim
parent7cbd509b6ca5522b33c8bf299468ec1be9052416 (diff)
downloadvim-polyglot-2.4.0.tar.gz
vim-polyglot-2.4.0.zip
Add ansible support, closes #96v2.4.0
Diffstat (limited to 'ftplugin/ansible.vim')
-rw-r--r--ftplugin/ansible.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/ftplugin/ansible.vim b/ftplugin/ansible.vim
new file mode 100644
index 00000000..df766194
--- /dev/null
+++ b/ftplugin/ansible.vim
@@ -0,0 +1,8 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
+
+" Slow yaml highlighting workaround
+if exists('+regexpengine') && ('&regexpengine' == 0)
+ setlocal regexpengine=1
+endif
+
+endif