mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
🔖 is now a function reference
This commit is contained in:
parent
fd07db83f2
commit
5a61573cdb
5 changed files with 11 additions and 12 deletions
|
|
@ -191,9 +191,9 @@ local function parse_line(line, state, namespace)
|
|||
-- define 🔖 variable
|
||||
local checkpoint_alias = state.global_state.builtin_aliases["🔖"]
|
||||
if checkpoint_alias then
|
||||
table.insert(line.children, 1, { content = (":🔖:%s=\"\""):format(checkpoint_alias), source = line.source })
|
||||
table.insert(line.children, 1, { content = (":🔖:%s=()"):format(checkpoint_alias), source = line.source })
|
||||
else
|
||||
table.insert(line.children, 1, { content = ":🔖=\"\"", source = line.source })
|
||||
table.insert(line.children, 1, { content = ":🔖=()", source = line.source })
|
||||
end
|
||||
elseif r.type == "checkpoint" then
|
||||
-- define 🏁 variable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue