Skip to content

Commit

Permalink
Use config schema in *.sublime-project (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Sep 19, 2020
1 parent 5e1efd4 commit 0d75d97
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
"/LSP-vue.sublime-settings"
],
"schema": {
"allOf": [
{
"$ref": "sublime://settings/LSP-plugin-base"
},
{
"$id": "sublime://settings/LSP-vue",
"definitions": {
"PluginConfig": {
"properties": {
"initializationOptions": {
"properties": {
Expand Down Expand Up @@ -345,9 +343,37 @@
}
}
}
},
"allOf": [
{
"$ref": "sublime://settings/LSP-plugin-base"
},
{
"$ref": "sublime://settings/LSP-vue#/definitions/PluginConfig"
}
]
}
}
},
{
"file_patterns": [
"/*.sublime-project"
],
"schema": {
"properties": {
"settings": {
"properties": {
"LSP": {
"properties": {
"LSP-vue": {
"$ref": "sublime://settings/LSP-vue#/definitions/PluginConfig"
}
}
}
}
}
}
}
},
]
}
}

0 comments on commit 0d75d97

Please sign in to comment.