Remove undocument and unused options parameter

This commit is contained in:
Marty Oehme 2020-11-06 16:11:24 +01:00
parent 101a15c8c9
commit 20a1eef2e4
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -10,11 +10,9 @@ end
-- TODO transform paths:
-- * to absolute value (e.g. ~ to home, scandir needs absolute)
-- * to ensure / at the end (or no /) gets taken into account
function ls.get_anchors_and_paths(path, recursive, options)
options = options or {}
function ls.get_anchors_and_paths(path, recursive)
-- TODO check for duplicates and warn user
local zettel = {}
-- TODO let user set as option, at least remove magic var
local anchorreg = '^.*/?(' .. o.anchor().regex .. ')[^/]*%' ..
o.zettel().extension .. '$'