Lua code complete in Lua directives
parent
772fe82e3a
commit
d57792af6d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue