Merge pull request #17386 from bfredl/neothread

support threads in lua
This commit is contained in:
bfredl
2022-02-27 09:41:02 +01:00
committed by GitHub
14 changed files with 1006 additions and 203 deletions

View File

@@ -1955,7 +1955,7 @@ Dictionary nvim__stats(void)
Dictionary rv = ARRAY_DICT_INIT;
PUT(rv, "fsync", INTEGER_OBJ(g_stats.fsync));
PUT(rv, "redraw", INTEGER_OBJ(g_stats.redraw));
PUT(rv, "lua_refcount", INTEGER_OBJ(nlua_refcount));
PUT(rv, "lua_refcount", INTEGER_OBJ(nlua_get_global_ref_count()));
return rv;
}