mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
c032e83b22
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. |
||
---|---|---|
.. | ||
highlight_spec.lua | ||
language_spec.lua | ||
node_spec.lua | ||
parser_spec.lua | ||
utils_spec.lua |