Files
neovim/runtime/lua/vim
Lewis Russell f9080b24c4 fix(ts): escape lang when loading parsers (#16668)
When trying to load a language parser, escape the value of
the language.

With language injection, the language might be picked up from the
buffer. If this value is erroneous it can cause `nvim_get_runtime_file`
to hard error.

E.g., the markdown expression `~~~{` will extract '{' as a language and
then try to get the parser using `parser/{*` as the pattern.
2022-01-27 10:42:59 +01:00
..
2018-12-20 11:57:30 +01:00
2021-11-27 11:10:48 -05:00
2022-01-04 22:31:59 +06:00
2021-11-27 11:10:48 -05:00