From 28388008327aacfc48db3c31f415564d93cd983f Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 25 Oct 2020 21:08:27 +0100 Subject: Fix conditions, #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 3f31ded8..39157d19 100644 --- a/autoload/jsx_pretty/comment.vim +++ b/autoload/jsx_pretty/comment.vim @@ -1,4 +1,4 @@ -if !has_key(g:polyglot_is_disabled, 'jsx') +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 d425dd38..ee4859ce 100644 --- a/autoload/jsx_pretty/indent.vim +++ b/autoload/jsx_pretty/indent.vim @@ -1,4 +1,4 @@ -if !has_key(g:polyglot_is_disabled, 'jsx') +if has_key(g:polyglot_is_disabled, 'jsx') finish endif -- cgit v1.2.3