Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
Document::language_name
for the file-type
statusline element
The `file-type` indicator element in the statusline was using `Document::language_id` which is meant to be used to for telling Language Servers what language we're using. That works for languages with `language-server` configurations in `languages.toml` but shows text otherwise. The new `Document::language_name` method from the parent commit is a more accurate way to determine the language.
- Loading branch information