aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/treesitter.c
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2021-03-30 16:40:29 -0400
committerGitHub <noreply@github.com>2021-03-30 16:40:29 -0400
commit240cec9192802db4f166c092428087180e4d3214 (patch)
tree22726ca9f25d60bd34029bdcf5406036946cc81a /src/nvim/lua/treesitter.c
parentf89bfa68692540c2a28794297ce2ab63892de410 (diff)
downloadrneovim-240cec9192802db4f166c092428087180e4d3214.tar.gz
rneovim-240cec9192802db4f166c092428087180e4d3214.tar.bz2
rneovim-240cec9192802db4f166c092428087180e4d3214.zip
ts: Add language version to vim.treesitter (#14255)
Diffstat (limited to 'src/nvim/lua/treesitter.c')
-rw-r--r--src/nvim/lua/treesitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/treesitter.c b/src/nvim/lua/treesitter.c
index 33974c71cb..188b2c1ef7 100644
--- a/src/nvim/lua/treesitter.c
+++ b/src/nvim/lua/treesitter.c
@@ -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");