summaryrefslogtreecommitdiffstats
path: root/autoload/jsx_pretty
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-25 21:08:27 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-25 21:08:27 +0100
commit28388008327aacfc48db3c31f415564d93cd983f (patch)
treee493e1b9e6c700a6378311074b3dfab0eb3edb09 /autoload/jsx_pretty
parentba3fe9e1ae6b2198a152cfa6a357cadc8c04dd14 (diff)
downloadvim-polyglot-28388008327aacfc48db3c31f415564d93cd983f.tar.gz
vim-polyglot-28388008327aacfc48db3c31f415564d93cd983f.zip
Fix conditions, #608
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