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 --- scripts/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build') diff --git a/scripts/build b/scripts/build index 150f45c2..2e596d52 100755 --- a/scripts/build +++ b/scripts/build @@ -156,7 +156,7 @@ def copy_file(package, src, dest) open(src, "r") do |input| open(dest, "a+") do |output| if name == "jsx" - output << "if !exists('g:polyglot_disabled') || !(index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'typescript') != -1 || index(g:polyglot_disabled, 'jsx') != -1)\n\n" + output << "if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1)\n\n" else output << "if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, '#{name}') == -1\n\n" end -- cgit v1.2.3