mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -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. |
||
---|---|---|
.. | ||
health.lua | ||
highlighter.lua | ||
language.lua | ||
languagetree.lua | ||
playground.lua | ||
query.lua |