tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests)

This commit is contained in:
Björn Linse
2019-06-21 14:14:51 +02:00
parent 167a1cfdef
commit 06ee45b9b1
7 changed files with 44 additions and 128 deletions

View File

@@ -839,9 +839,9 @@ static void nlua_add_treesitter(lua_State *const lstate) FUNC_ATTR_NONNULL_ALL
lua_pushcfunction(lstate, create_tslua_parser);
lua_setfield(lstate, -2, "_create_ts_parser");
lua_pushcfunction(lstate, ts_lua_register_lang);
lua_pushcfunction(lstate, tslua_register_lang);
lua_setfield(lstate, -2, "_ts_add_language");
lua_pushcfunction(lstate, ts_lua_inspect_lang);
lua_pushcfunction(lstate, tslua_inspect_lang);
lua_setfield(lstate, -2, "_ts_inspect_language");
}