neovim/test/functional/treesitter
Christian Clason c032e83b22 fix(treesitter): validate language name
Problem: Some injections (like markdown) allow specifying arbitrary
language names for code blocks, which may be lead to errors when
looking for a corresponding parser in runtime path.

Solution: Validate that the language name only contains alphanumeric
characters and `_` (e.g., for `c_sharp`) and error otherwise.
2023-01-28 11:28:52 +01:00
..
highlight_spec.lua feat: vim.inspect_pos, vim.show_pos, :Inspect 2022-12-17 13:05:31 +01:00
language_spec.lua fix(treesitter): validate language name 2023-01-28 11:28:52 +01:00
node_spec.lua ci(tests): don't skip parsers on functionaltest 2022-09-06 07:57:46 +02:00
parser_spec.lua test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
utils_spec.lua ci(tests): don't skip parsers on functionaltest 2022-09-06 07:57:46 +02:00