diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-02-05 14:27:48 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-02-05 14:27:48 +0900 |
commit | d7a15bda2f9a10bffee1198dddf7cbc33482db3c (patch) | |
tree | 3f8d93a9e1797c46527d8743ae281bea7602d261 /schema.json | |
parent | 8751f845c06eaf03a945fb21529fb69e3b96943d (diff) | |
download | vim-lsp-settings-d7a15bda2f9a10bffee1198dddf7cbc33482db3c.tar.gz vim-lsp-settings-d7a15bda2f9a10bffee1198dddf7cbc33482db3c.tar.bz2 vim-lsp-settings-d7a15bda2f9a10bffee1198dddf7cbc33482db3c.zip |
Support b:asyncomplete_refresh_pattern
Diffstat (limited to 'schema.json')
-rw-r--r-- | schema.json | 60 |
1 files changed, 32 insertions, 28 deletions
diff --git a/schema.json b/schema.json index dd01f15..38c11d6 100644 --- a/schema.json +++ b/schema.json @@ -1,24 +1,17 @@ { "$schema": "http://json-schema.org/draft-04/schema", - "type": "object", - "title": "vim-lsp-settings", "additionalProperties": false, "patternProperties": { - "^\\$schema$": { - "type": "string" - }, "^([a-z0-9_-]+)+$": { - "type": "array", "description": "filetype name", "items": { - "description": "define command description", - "type": "object", "additionalProperties": false, - "required": [ - "command", - "requires" - ], + "description": "define command description", "properties": { + "asyncomplete-refresh-pattern": { + "description": "define refresh pattern for asyncomplete", + "type": "string" + }, "command": { "description": "define name of language server", "type": "string" @@ -29,32 +22,43 @@ }, "requires": { "description": "define commands to install this language server", - "type": "array", "items": { - "type": "string", - "description": "executable command name" - } + "description": "executable command name", + "type": "string" + }, + "type": "array" }, "vim-plugin": { - "description": "define suggestion for vim-plugin", - "type": "object", "additionalProperties": false, + "description": "define suggestion for vim-plugin", "properties": { "extensions": { - "type": "array", "items": { - "type": "string", - "description": "file extensions" - } + "description": "file extensions", + "type": "string" + }, + "type": "array" }, "name": { - "type": "string", - "description": "plugin identify user/repo" + "description": "plugin identify user/repo", + "type": "string" } - } + }, + "type": "object" } - } - } + }, + "required": [ + "command", + "requires" + ], + "type": "object" + }, + "type": "array" + }, + "^\\$schema$": { + "type": "string" } - } + }, + "title": "vim-lsp-settings", + "type": "object" } |