EncloseLine, add $ and @ as part of load word

This commit is contained in:
Krzosa Karol
2025-05-11 15:43:32 +02:00
parent 9884ba7dab
commit 3b48954bc1
6 changed files with 30 additions and 5 deletions

View File

@@ -242,6 +242,11 @@ function MatchExec(s, meta)
return {kind = "exec_console", cmd = s, working_dir = GetMainDir()}
end
if s:match("^%$") then
Print(s:sub(2, -1))
return {kind = "exec_console", cmd = s:sub(2, -1), working_dir = GetMainDir()}
end
Eval(s)
return {kind = "skip"}
end