summaryrefslogtreecommitdiffstats
path: root/ftplugin
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:49:17 +0100
commit7679a92627661ef2d6878079a5c53bf3669aabf7 (patch)
tree1c7d94fce4cf982d2bd57e31b886c6a112bb12c0 /ftplugin
parentad44c4f7a316e798a9354197b20a80eabf280f1a (diff)
downloadvim-polyglot-7679a92627661ef2d6878079a5c53bf3669aabf7.tar.gz
vim-polyglot-7679a92627661ef2d6878079a5c53bf3669aabf7.zip
Add ansible support, closes #96
Diffstat (limited to 'ftplugin')
-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