summaryrefslogtreecommitdiffstats
path: root/plugin_guard_jsx.vim.template
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-04 17:39:23 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-04 17:39:23 +0200
commitae18284e5af128e1fca0b42f284b558dd7dce73d (patch)
treeeb065c770b2f4985f5677829c1550d0f7067acea /plugin_guard_jsx.vim.template
parente3024f21fca230b030fb2fe2fde4e768fb8205b3 (diff)
downloadvim-polyglot-3.10.0.tar.gz
vim-polyglot-3.10.0.zip
Disable jsx when ts or js is disabled, closes #414v3.10.0
Diffstat (limited to 'plugin_guard_jsx.vim.template')
-rw-r--r--plugin_guard_jsx.vim.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin_guard_jsx.vim.template b/plugin_guard_jsx.vim.template
new file mode 100644
index 00000000..a6b41027
--- /dev/null
+++ b/plugin_guard_jsx.vim.template
@@ -0,0 +1,5 @@
+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
+
+%%CONTENT%%