diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-09 22:57:13 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-09 22:57:13 +0200 |
commit | 0d48ba92455548018105670980552e54930f60eb (patch) | |
tree | ce1b41ae7a984eff3709073ae97809bce876f147 /scripts/build | |
parent | 1993b9f68fff3cb87413fdc2e328763c291578c4 (diff) | |
download | vim-polyglot-0d48ba92455548018105670980552e54930f60eb.tar.gz vim-polyglot-0d48ba92455548018105670980552e54930f60eb.zip |
Fix detecting of some filetypes, closes #579
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build b/scripts/build index 573a8891..6ba4e43a 100755 --- a/scripts/build +++ b/scripts/build @@ -579,7 +579,7 @@ def generate_ftdetect(packages, heuristics) end for filename in filenames.sort - if filename[0] == "." + if filename.match?(/^\.[^\*\/]+$/) filename = "{.,}" + filename[1..-1] end if filename[-1] == "*" |