tree-sitter: inspect language

This commit is contained in:
Björn Linse
2019-06-15 14:05:35 +02:00
parent a88a9f128e
commit d24dec596c
3 changed files with 53 additions and 1 deletions

View File

@@ -841,4 +841,7 @@ static void nlua_add_treesitter(lua_State *const lstate) FUNC_ATTR_NONNULL_ALL
lua_pushcfunction(lstate, ts_lua_register_lang);
lua_setfield(lstate, -2, "_ts_add_language");
lua_pushcfunction(lstate, ts_lua_inspect_lang);
lua_setfield(lstate, -2, "_ts_inspect_language");
}