aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-06 10:10:01 +0200
committerGitHub <noreply@github.com>2022-09-06 10:10:01 +0200
commit5b8d6e0b3200c5cb9d98cbdb4ed0afe2b4edd38d (patch)
tree23aac48c4aff31236341260942ceeb7b42fc90ab /test/functional/helpers.lua
parent4bf005e9fdfb57397475b2663a3651faa83886ff (diff)
parent0822896efcf0da7002e323369fdc1e4a15ad1d57 (diff)
downloadrneovim-5b8d6e0b3200c5cb9d98cbdb4ed0afe2b4edd38d.tar.gz
rneovim-5b8d6e0b3200c5cb9d98cbdb4ed0afe2b4edd38d.tar.bz2
rneovim-5b8d6e0b3200c5cb9d98cbdb4ed0afe2b4edd38d.zip
Merge pull request #15391 from vigoux/ts-lua-builtin
feat(treesitter): highlighting for core languages, enabled for Lua
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 93fb0f245e..d672037a1e 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -755,16 +755,6 @@ function module.pending_win32(pending_fn)
end
end
-function module.pending_c_parser(pending_fn)
- local status, _ = unpack(module.exec_lua([[ return {pcall(vim.treesitter.require_language, 'c')} ]]))
- if not status then
- pending_fn 'no C parser, skipping'
- return true
- end
- module.exec_lua [[vim._ts_remove_language 'c']]
- return false
-end
-
-- Calls pending() and returns `true` if the system is too slow to
-- run fragile or expensive tests. Else returns `false`.
function module.skip_fragile(pending_fn, cond)