summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-01 15:55:43 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-01 15:55:43 +0200
commit8dd0474feb60a4b9f50ee2b8decead0146623966 (patch)
treef7e03cff7dd4b96b239a63a5caf317215c93b0c9 /doc
parente166f741ef054ea990aa6d1af85b97ceb82171bb (diff)
downloadvim-polyglot-4.6.1.tar.gz
vim-polyglot-4.6.1.zip
Remove vim-sql-syntax, #528v4.6.1
Diffstat (limited to 'doc')
-rw-r--r--doc/vim-jsx-pretty-doc.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/vim-jsx-pretty-doc.txt b/doc/vim-jsx-pretty-doc.txt
index 8ddc97f8..a561e475 100644
--- a/doc/vim-jsx-pretty-doc.txt
+++ b/doc/vim-jsx-pretty-doc.txt
@@ -1,4 +1,4 @@
-if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1)
+if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1)
vim-jsx-pretty is syntax highlight for JSX (React.js).
(https://github.com/MaxMEllon/vim-jsx-pretty)