Lua code complete in Lua directives

pull/1219/merge
Zef Hemel 2025-02-08 20:28:58 +01:00
parent 772fe82e3a
commit d57792af6d
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ event.listen {
local parents = e.data.parentNodes
local foundSpaceLua = false
for _, parent in ipairs(parents) do
if string.startswith(parent, "FencedCode:space-lua") then
if string.startswith(parent, "FencedCode:space-lua") or parent == "LuaDirective" then
foundSpaceLua = true
end
end