mirror of
https://github.com/neovim/neovim.git
synced 2026-04-17 04:53:02 +00:00
Hyphenated language names are silently dropped when used as injections
(see #38132).
This combines the normalization of language aliases into `resolve_lang`,
and also adds the normalization of hyphens to underscores, which allows
for handling of injected language tags with hyphens in their names.
Fixes #38132.
(cherry picked from commit 01817eb6f3)