aboutsummaryrefslogtreecommitdiff
path: root/schema.json
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-16 00:40:06 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-16 00:40:06 +0900
commita0d6d705fd09b674f551e0e6dd273572c0178891 (patch)
tree1c1e2189a5f012487f4302492b20c2a922ad4c07 /schema.json
parent91f7eb6faa8ad5f73fa561e3a977f32084fc45a2 (diff)
downloadvim-lsp-settings-a0d6d705fd09b674f551e0e6dd273572c0178891.tar.gz
vim-lsp-settings-a0d6d705fd09b674f551e0e6dd273572c0178891.tar.bz2
vim-lsp-settings-a0d6d705fd09b674f551e0e6dd273572c0178891.zip
Update schema.json
Diffstat (limited to 'schema.json')
-rw-r--r--schema.json10
1 files changed, 8 insertions, 2 deletions
diff --git a/schema.json b/schema.json
index e2b234d..62aeaca 100644
--- a/schema.json
+++ b/schema.json
@@ -10,17 +10,21 @@
"properties": {
"command": {
"description": "define name of language server",
- "type": "string"
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9_-]+$"
},
"config": {
+ "default": {},
"description": "server related configurations",
"type": "object"
},
"disabled": {
"description": "disable this server",
- "type": "boolean"
+ "type": "boolean",
+ "default": true
},
"requires": {
+ "default": [],
"description": "define commands to install this language server",
"items": {
"description": "executable command name",
@@ -29,10 +33,12 @@
"type": "array"
},
"vim-plugin": {
+ "default": {},
"additionalProperties": false,
"description": "define suggestion for vim-plugin",
"properties": {
"extensions": {
+ "default": [],
"items": {
"description": "file extensions",
"type": "string"