fix: use luahl in treesitter

This commit is contained in:
Thomas Vigouroux
2020-09-11 15:57:08 +02:00
committed by Björn Linse
parent 18a3a89822
commit e4b5efa51e
2 changed files with 43 additions and 22 deletions

View File

@@ -446,10 +446,7 @@ static int nlua_schedule(lua_State *const lstate)
]]}
feed("5Goc<esc>dd")
if true == true then
pending('reenable this check in luahl PR')
return
end
screen:expect{grid=[[
{2:/// Schedule Lua callback on main loop's event queue} |
{3:static} {3:int} {11:nlua_schedule}({3:lua_State} *{3:const} lstate) |
@@ -480,7 +477,7 @@ static int nlua_schedule(lua_State *const lstate)
|| {6:lstate} != {6:lstate}) { |
{11:lua_pushliteral}(lstate, {5:"vim.schedule: expected function"}); |
{4:return} {11:lua_error}(lstate); |
*^/ |
{8:*^/} |
} |
|
{7:LuaRef} cb = {11:nlua_ref}(lstate, {5:1}); |