aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorThomas Vigouroux <thomas.vigouroux@protonmail.com>2022-08-24 19:05:58 +0200
committerGitHub <noreply@github.com>2022-08-24 19:05:58 +0200
commit3b2121cedfd7c2710b69bd38a3eb2ce51e0205e4 (patch)
tree79d329f87997dd56a076037405c844133fb0d1bf /src/nvim/lua/executor.c
parentb1eaa2b9a3bae46f6dcbab8dc3a84e0044b11317 (diff)
parent26ebf67c39d3776095706fafe34eea2e37013579 (diff)
downloadrneovim-3b2121cedfd7c2710b69bd38a3eb2ce51e0205e4.tar.gz
rneovim-3b2121cedfd7c2710b69bd38a3eb2ce51e0205e4.tar.bz2
rneovim-3b2121cedfd7c2710b69bd38a3eb2ce51e0205e4.zip
Merge pull request #19928 from vigoux/ts-fix-c-parser
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");