mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-04 04:23:21 +01:00
Fix association of 'json' lsp language id with JSON language
This commit is contained in:
1 parent
dd554c19df
commit
2a478462b6
4 files changed
+26
-14
No files matched your search
@@ -94,10 +94,6 @@ pub fn initialization_options() -> Option<String> {
|
||||
}
|
||||
|
||||
#[export]
|
||||
pub fn id_for_language(name: String) -> Option<String> {
|
||||
if name == "JSON" {
|
||||
Some("jsonc".into())
|
||||
} else {
|
||||
None
|
||||
}
|
||||
pub fn language_ids() -> Vec<(String, String)> {
|
||||
vec![("JSON".into(), "jsonc".into())]
|
||||
}
|
||||
Reference in new issue
Block a user