summaryrefslogtreecommitdiffstats
path: root/plugin_guard.vim.template
diff options
context:
space:
mode:
authorJohn Guidry <lowdowndirtyrottenscoundrel@gmail.com>2015-07-10 08:19:38 -0500
committerAdam Stankiewicz <sheerun@sher.pl>2015-07-18 23:04:34 +0200
commitf977779693518c748d87fb5babd98f6ef411837c (patch)
treed92d9a0bf0aa4c06628bcb437c9785ed2a06ab08 /plugin_guard.vim.template
parent4033ac02d0a0b4abb2f1e373529ead6eca4290ae (diff)
downloadvim-polyglot-f977779693518c748d87fb5babd98f6ef411837c.tar.gz
vim-polyglot-f977779693518c748d87fb5babd98f6ef411837c.zip
Allow disabling individual language packs
Diffstat (limited to '')
-rw-r--r--plugin_guard.vim.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin_guard.vim.template b/plugin_guard.vim.template
new file mode 100644
index 00000000..ccf60b8b
--- /dev/null
+++ b/plugin_guard.vim.template
@@ -0,0 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, '%%PACK%%') == -1
+
+ %%CONTENT%%
+
+endif