Cleanup logic for registering languages and grammars (#7593)

This is a refactor, follow-up to the work we've been doing on loading
WASM language extensions.

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
Max Brunsfeld 2024-02-08 13:24:49 -08:00 committed by GitHub
parent 1da5241ef7
commit ed54665711
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 873 additions and 901 deletions

View file

@ -5,6 +5,7 @@ use crate::language_settings::{
use crate::Buffer;
use clock::ReplicaId;
use collections::BTreeMap;
use futures::FutureExt as _;
use gpui::{AppContext, Model};
use gpui::{Context, TestAppContext};
use indoc::indoc;