Use the 'jsonc' language id for all JSON files

This way, comments are allowed by the language server.
This commit is contained in:
Max Brunsfeld 2022-04-21 12:08:16 -07:00
parent 3a28f09979
commit f52050a9ec
3 changed files with 29 additions and 4 deletions

View file

@ -102,6 +102,10 @@ pub trait LspAdapter: 'static + Send + Sync {
fn disk_based_diagnostics_progress_token(&self) -> Option<&'static str> {
None
}
fn id_for_language(&self, _name: &str) -> Option<String> {
None
}
}
#[derive(Clone, Debug, PartialEq, Eq)]