Fix sidecar file name

Get back "metadata." part forgotten while refactoring.
pull/2507/head
poire-z 7 years ago committed by Qingping Hou
parent 642cb8871b
commit 8f6a38db69

@ -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)

Loading…
Cancel
Save