summaryrefslogtreecommitdiffstats
path: root/after/indent/javascriptreact.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/indent/javascriptreact.vim')
-rw-r--r--after/indent/javascriptreact.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/after/indent/javascriptreact.vim b/after/indent/javascriptreact.vim
index be2ea1fc..a757cdd7 100644
--- a/after/indent/javascriptreact.vim
+++ b/after/indent/javascriptreact.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('jsx', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'jsx')
finish
endif