-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rework buttplug-device-config-schema-v3 to support yaml-lsp
Mostly transcribed from BaseConfigFile in buttplug/src/util/device_configuration.rs Does **not** yet include `user-config`. Will be added as second commit later.
- Loading branch information
1 parent
36f7646
commit b71189d
Showing
2 changed files
with
477 additions
and
492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,34 @@ | ||
{ | ||
"rust-analyzer.diagnostics.disabled": [ | ||
"macro-error" | ||
], | ||
"yaml.customTags": [ | ||
"!Messages mapping", | ||
"!Commands mapping", | ||
"!Scalar sequence", | ||
"!Stop", | ||
"!FleshlightLaunchFW12Cmd mapping", | ||
"!Linear sequence", | ||
"!Write mapping", | ||
"!Subscribe mapping", | ||
"!Unsubscribe mapping", | ||
"!Notifications sequence", | ||
"!Reads sequence", | ||
"!Events mapping", | ||
"!Rotate sequence", | ||
"!Battery", | ||
"!RSSI", | ||
"!Vibrate sequence", | ||
"!Battery mapping" | ||
], | ||
"rust-analyzer.linkedProjects": [ | ||
".\\buttplug\\Cargo.toml" | ||
], | ||
|
||
} | ||
"rust-analyzer": { | ||
"diagnostics.disabled": [ | ||
"macro-error" | ||
], | ||
"linkedProjects": [ | ||
"./buttplug/Cargo.toml" | ||
], | ||
}, | ||
"yaml": { | ||
"schemas": { | ||
"buttplug/buttplug-device-config/device-config-v3/buttplug-device-config-schema-v3.json": "buttplug/buttplug-device-config/device-config-v3/buttplug-device-config-v3.yml" | ||
}, | ||
"customTags": [ | ||
"!Messages mapping", | ||
"!Commands mapping", | ||
"!Scalar sequence", | ||
"!Stop", | ||
"!FleshlightLaunchFW12Cmd mapping", | ||
"!Linear sequence", | ||
"!Write mapping", | ||
"!Subscribe mapping", | ||
"!Unsubscribe mapping", | ||
"!Notifications sequence", | ||
"!Reads sequence", | ||
"!Events mapping", | ||
"!Rotate sequence", | ||
"!Battery", | ||
"!RSSI", | ||
"!Vibrate sequence", | ||
"!Battery mapping" | ||
], | ||
}, | ||
} |
Oops, something went wrong.