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 | |
parent | 1993b9f68fff3cb87413fdc2e328763c291578c4 (diff) | |
download | vim-polyglot-0d48ba92455548018105670980552e54930f60eb.tar.gz vim-polyglot-0d48ba92455548018105670980552e54930f60eb.zip |
Fix detecting of some filetypes, closes #579
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build | 2 | ||||
-rwxr-xr-x | scripts/test | 2 |
2 files changed, 2 insertions, 2 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] == "*" diff --git a/scripts/test b/scripts/test index f22c224c..b87d511c 100755 --- a/scripts/test +++ b/scripts/test @@ -46,7 +46,7 @@ test_helptags = <<~EOF EOF run_vimscript('source tests/filetypes.vim') -# run_vimscript('source tests/extensions.vim') +run_vimscript('source tests/extensions.vim') run_script(test_helptags) # run_vimscript(" |