aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-17 13:49:28 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-17 13:49:28 +0900
commit4ef78b730cde5839d16191ebbc7da73ff33bd196 (patch)
tree9dd7133cb58e35e3326c93f71f04062ec474f51f
parent98ae102270120be282ad23b8672eeccec2ed3db7 (diff)
downloadvim-lsp-settings-4ef78b730cde5839d16191ebbc7da73ff33bd196.tar.gz
vim-lsp-settings-4ef78b730cde5839d16191ebbc7da73ff33bd196.tar.bz2
vim-lsp-settings-4ef78b730cde5839d16191ebbc7da73ff33bd196.zip
Fix schema
-rw-r--r--local-schema.json71
1 files changed, 37 insertions, 34 deletions
diff --git a/local-schema.json b/local-schema.json
index 3d4548f..744f1d7 100644
--- a/local-schema.json
+++ b/local-schema.json
@@ -1,45 +1,48 @@
{
"$schema": "http://json-schema.org/draft-04/schema",
"additionalProperties": false,
- "properties": {
- "blacklist": {
- "items": {
- "pattern": "^[a-zA-Z0-9_-]+$",
- "type": "string"
+ "items": {
+ "type": "object",
+ "properties": {
+ "blacklist": {
+ "items": {
+ "pattern": "^[a-zA-Z0-9_-]+$",
+ "type": "string"
+ },
+ "type": "array"
},
- "type": "array"
- },
- "cmd": {
- "items": {
- "type": "string"
+ "cmd": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "config": {
+ "type": "object"
},
- "type": "array"
- },
- "config": {
- "type": "object"
- },
- "disabled": {
- "default": true,
- "type": "boolean"
- },
- "initialization_options": {
- "type": "object"
- },
- "root_uri": {
- "pattern": "^file://\\S+$",
- "type": "string"
- },
- "whitelist": {
- "items": {
- "pattern": "^[a-zA-Z0-9_-]+$",
+ "disabled": {
+ "default": true,
+ "type": "boolean"
+ },
+ "initialization_options": {
+ "type": "object"
+ },
+ "root_uri": {
+ "pattern": "^file://\\S+$",
"type": "string"
},
- "type": "array"
- },
- "workspace_config": {
- "type": "object"
+ "whitelist": {
+ "items": {
+ "pattern": "^[a-zA-Z0-9_-]+$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "workspace_config": {
+ "type": "object"
+ }
}
},
"title": "vim-lsp-settings-local",
- "type": "object"
+ "type": "array"
}