neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 8a70c53dad178033c2f53b3ca7a6def5bac25eca
parent 916d848049979e7b3974fbf4b6fdf2cf58ae98c3
Author: James McCoy <jamessan@jamessan.com>
Date:   Wed,  8 Jun 2022 21:10:01 -0400

Merge pull request #18903 from jamessan/skip-test-parsers

test(ts): skip test if C parser is not available
Diffstat:
Mtest/functional/treesitter/language_spec.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/test/functional/treesitter/language_spec.lua b/test/functional/treesitter/language_spec.lua @@ -70,6 +70,7 @@ describe('treesitter API', function() end) it('checks if vim.treesitter.get_parser tries to create a new parser on filetype change', function () + if pending_c_parser(pending) then return end command("set filetype=c") -- Should not throw an error when filetype is c eq('c', exec_lua("return vim.treesitter.get_parser(0):lang()"))