neovim

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

commit 6b0595d7ccb9dd212f6363b2b00769c93b61f396
parent 94181ad7dcb75e1e188164276696434e03302a21
Author: James McCoy <jamessan@jamessan.com>
Date:   Wed,  8 Jun 2022 18:04:25 -0400

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()"))