Renamed common.matches_pattern => common.match_pattern

This commit is contained in:
rxi
2020-05-07 14:18:46 +01:00
parent 7cdf7dc44f
commit ae42176953
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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