Lua syntax bug with local functions
In Lua syntax, a function is detected as a collapsible region when written like so:
function foo()
dothing()
end
but is not collapsible when the function is made local (which is recommended in most cases):
local function bar()
do_other_thing()
end
I can try to have a look at what's going on, but I've no experience contributing to KDE so any pointers would be appreciated & I won't mind if someone else takes this on!