diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-28 02:30:26 +0200 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-28 02:30:26 +0200 | 
| commit | 692db4dc29293f713999cab70740e9f39cc71c40 (patch) | |
| tree | a0dd1c706e10d2c9eecd6eb4012c85859a324cac /scripts/build | |
| parent | 417df69667c1df5484d01ea766320324759d8718 (diff) | |
| download | vim-polyglot-692db4dc29293f713999cab70740e9f39cc71c40.tar.gz vim-polyglot-692db4dc29293f713999cab70740e9f39cc71c40.zip | |
Fix more warnings
Diffstat (limited to 'scripts/build')
| -rwxr-xr-x | scripts/build | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/scripts/build b/scripts/build index 49ae41e1..d34c7fa9 100755 --- a/scripts/build +++ b/scripts/build @@ -654,6 +654,9 @@ def expand_all(pattern, all = false)            if e3.include?("*")              results.concat(results.map { |e4| e4.gsub("*", "") })            end +          if e3.match(/\*\.[a-z]/) +            results << "*." + e3[2].upcase + e3[3..-1] +          end            results << "*"          end          results @@ -743,9 +746,6 @@ def show_warnings(all_filetypes, expected_filetypes)      [a, Regexp.union(b.map { |x| Regexp.escape(x).gsub('\\*', '.*') })]    end] -  puts all_handled.select { |a, b| a.include?('zsh') } - -  puts all_handled_regexps["zsh"]    for name, e in all_expected - all_handled      if all_handled.include?([name, e.split('/').last.gsub('*', '')])        next | 
