From 8dd0474feb60a4b9f50ee2b8decead0146623966 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 1 Sep 2020 15:55:43 +0200 Subject: Remove vim-sql-syntax, #528 --- after/ftplugin/javascript.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'after/ftplugin/javascript.vim') diff --git a/after/ftplugin/javascript.vim b/after/ftplugin/javascript.vim index 663e2d8a..a590e11d 100644 --- a/after/ftplugin/javascript.vim +++ b/after/ftplugin/javascript.vim @@ -14,7 +14,7 @@ else endif endif -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 ftplugin file -- cgit v1.2.3