summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-28 03:00:01 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-28 03:00:01 +0200
commit6a086b0c797f703b713bc887b1a4cee5a70d01ec (patch)
tree4964e746d73ba8dfeb1ecb6ab5eb6d14680cf8d4 /scripts
parent692db4dc29293f713999cab70740e9f39cc71c40 (diff)
downloadvim-polyglot-6a086b0c797f703b713bc887b1a4cee5a70d01ec.tar.gz
vim-polyglot-6a086b0c797f703b713bc887b1a4cee5a70d01ec.zip
Fix many extensions detection
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/build b/scripts/build
index d34c7fa9..0e2df590 100755
--- a/scripts/build
+++ b/scripts/build
@@ -747,10 +747,7 @@ def show_warnings(all_filetypes, expected_filetypes)
end]
for name, e in all_expected - all_handled
- if all_handled.include?([name, e.split('/').last.gsub('*', '')])
- next
- end
- if e.include?('*') && all_handled_regexps[name].match?(e)
+ if all_handled_regexps[name].match?(e)
next
end
puts "Missing for #{name}: #{e}"