Skip to content

Commit

Permalink
feat: rework buttplug-device-config-schema-v3 to support yaml-lsp
Browse files Browse the repository at this point in the history
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
unpronounceableoq9 committed Sep 30, 2024
1 parent 36f7646 commit b71189d
Show file tree
Hide file tree
Showing 2 changed files with 477 additions and 492 deletions.
60 changes: 33 additions & 27 deletions .vscode/settings.json
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"
],
},
}
Loading

0 comments on commit b71189d

Please sign in to comment.