From ae18284e5af128e1fca0b42f284b558dd7dce73d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 4 Sep 2019 17:39:23 +0200 Subject: Disable jsx when ts or js is disabled, closes #414 --- plugin_guard_jsx.vim.template | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 plugin_guard_jsx.vim.template (limited to 'plugin_guard_jsx.vim.template') 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%% -- cgit v1.2.3