ts: Add language version to vim.treesitter (#14255)

This commit is contained in:
TJ DeVries
2021-03-30 16:40:29 -04:00
committed by GitHub
parent f89bfa6869
commit 240cec9192
4 changed files with 19 additions and 2 deletions

View File

@@ -1109,7 +1109,7 @@ static int querycursor_gc(lua_State *L)
// Query methods
int ts_lua_parse_query(lua_State *L)
int tslua_parse_query(lua_State *L)
{
if (lua_gettop(L) < 2 || !lua_isstring(L, 1) || !lua_isstring(L, 2)) {
return luaL_error(L, "string expected");