Start work on relaying settings to language servers

This commit is contained in:
Max Brunsfeld
2022-03-11 17:36:27 -08:00
parent 48848de82c
commit 20fed599b2
6 changed files with 72 additions and 18 deletions
+2 -3
View File
@@ -93,9 +93,8 @@ impl SettingsFile {
}
impl Settings {
pub fn file_json_schema() -> String {
let schema = schema_for!(SettingsFileContent);
serde_json::to_string(&schema).unwrap()
pub fn file_json_schema() -> serde_json::Value {
serde_json::to_value(schema_for!(SettingsFileContent)).unwrap()
}
pub fn from_files(