aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorThomas Vigouroux <thomas.vigouroux@protonmail.com>2022-08-24 16:22:50 +0200
committerThomas Vigouroux <thomas.vigouroux@protonmail.com>2022-08-24 16:59:13 +0200
commit26ebf67c39d3776095706fafe34eea2e37013579 (patch)
tree79d329f87997dd56a076037405c844133fb0d1bf /src/nvim/lua/executor.c
parentb1eaa2b9a3bae46f6dcbab8dc3a84e0044b11317 (diff)
downloadrneovim-26ebf67c39d3776095706fafe34eea2e37013579.tar.gz
rneovim-26ebf67c39d3776095706fafe34eea2e37013579.tar.bz2
rneovim-26ebf67c39d3776095706fafe34eea2e37013579.zip
test(treesitter): make internal lang test pending when necessary
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index 8cd0e9937b..38bc187f4f 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -1662,6 +1662,9 @@ static void nlua_add_treesitter(lua_State *const lstate) FUNC_ATTR_NONNULL_ALL
lua_pushcfunction(lstate, tslua_has_language);
lua_setfield(lstate, -2, "_ts_has_language");
+ lua_pushcfunction(lstate, tslua_remove_lang);
+ lua_setfield(lstate, -2, "_ts_remove_language");
+
lua_pushcfunction(lstate, tslua_inspect_lang);
lua_setfield(lstate, -2, "_ts_inspect_language");