summaryrefslogtreecommitdiffstats
path: root/autoload/jsx_pretty
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/jsx_pretty')
-rw-r--r--autoload/jsx_pretty/comment.vim2
-rw-r--r--autoload/jsx_pretty/indent.vim2
2 files changed, 2 insertions, 2 deletions
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