From 45a7512dea0599efaf96e8a2cad3fac7be61cf5d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 25 Oct 2020 20:33:44 +0100 Subject: Preserve loading order of plugins, fixes #608 --- autoload/jsx_pretty/comment.vim | 2 +- autoload/jsx_pretty/indent.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'autoload/jsx_pretty') diff --git a/autoload/jsx_pretty/comment.vim b/autoload/jsx_pretty/comment.vim index 44dbf803..3f31ded8 100644 --- a/autoload/jsx_pretty/comment.vim +++ b/autoload/jsx_pretty/comment.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('jsx', expand(':p')) +if !has_key(g:polyglot_is_disabled, 'jsx') finish endif diff --git a/autoload/jsx_pretty/indent.vim b/autoload/jsx_pretty/indent.vim index 3c5585a8..d425dd38 100644 --- a/autoload/jsx_pretty/indent.vim +++ b/autoload/jsx_pretty/indent.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('jsx', expand(':p')) +if !has_key(g:polyglot_is_disabled, 'jsx') finish endif -- cgit v1.2.3