Fix sidecar file name

Get back "metadata." part forgotten while refactoring.
This commit is contained in:
poire-z authored and Qingping Hou committed 2017-01-22 02:42:34 -08:00
1 parent 642cb8871b
commit 8f6a38db69
1 file changed
+1 -1
+1 -1
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)