test(treesitter): make internal lang test pending when necessary

This commit is contained in:
Thomas Vigouroux
2022-08-24 16:22:50 +02:00
parent b1eaa2b9a3
commit 26ebf67c39
4 changed files with 20 additions and 2 deletions

View File

@@ -761,6 +761,7 @@ function module.pending_c_parser(pending_fn)
pending_fn 'no C parser, skipping'
return true
end
module.exec_lua [[vim._ts_remove_language 'c']]
return false
end