Renamed common.matches_pattern => common.match_pattern
This commit is contained in:
@@ -14,7 +14,7 @@ end
|
||||
function syntax.get(filename)
|
||||
for i = #syntax.items, 1, -1 do
|
||||
local t = syntax.items[i]
|
||||
if common.matches_pattern(filename, t.files) then
|
||||
if common.match_pattern(filename, t.files) then
|
||||
return t
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user