mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 12:33:51 -05:00
Relax previous commit a bit
This commit is contained in:
@@ -579,7 +579,7 @@ def generate_ftdetect(packages, heuristics)
|
||||
end
|
||||
|
||||
for filename in filenames.sort
|
||||
if filename.match?(/^\.[^\*\/]+$/)
|
||||
if filename.match?(/^\.[^\/]+[^\*]$/)
|
||||
filename = "{.,}" + filename[1..-1]
|
||||
end
|
||||
if filename[-1] == "*"
|
||||
|
||||
Reference in New Issue
Block a user