summaryrefslogtreecommitdiffstats
path: root/plugin_guard_jsx.vim.template
diff options
context:
space:
mode:
Diffstat (limited to 'plugin_guard_jsx.vim.template')
-rw-r--r--plugin_guard_jsx.vim.template6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugin_guard_jsx.vim.template b/plugin_guard_jsx.vim.template
index a6b41027..ffa94905 100644
--- a/plugin_guard_jsx.vim.template
+++ b/plugin_guard_jsx.vim.template
@@ -1,5 +1,3 @@
-if exists('g:polyglot_disabled') && (index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1)
- finish
-endif
-
+if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1)
%%CONTENT%%
+endif