Use the 'jsonc' language id for all JSON files
This way, comments are allowed by the language server.
This commit is contained in:
parent
3a28f09979
commit
f52050a9ec
3 changed files with 29 additions and 4 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue