Fix sidecar file name

Get back "metadata." part forgotten while refactoring.
This commit is contained in:
poire-z
2017-01-22 10:51:10 +01:00
committed by Qingping Hou
parent 642cb8871b
commit 8f6a38db69

View File

@@ -29,7 +29,7 @@ end
function DocSettings:getSidecarFile(doc_path)
if doc_path == nil or doc_path == '' then return '' end
return self:getSidecarDir(doc_path) .. "/" .. doc_path:match(".*%.(.+)") .. ".lua"
return self:getSidecarDir(doc_path) .. "/metadata." .. doc_path:match(".*%.(.+)") .. ".lua"
end
function DocSettings:hasSidecarDir(doc_path)