aboutsummaryrefslogtreecommitdiff
path: root/local-schema.json
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-16 21:45:48 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-16 21:45:48 +0900
commit8d161f8ca245e6838e58b0039181ff02c94c2cb4 (patch)
treeda4dda7799d08d67cf334f4c80e91500bca20c36 /local-schema.json
parent21c6f5ca619858ff2c9739c9579c31a38384b20d (diff)
downloadvim-lsp-settings-8d161f8ca245e6838e58b0039181ff02c94c2cb4.tar.gz
vim-lsp-settings-8d161f8ca245e6838e58b0039181ff02c94c2cb4.tar.bz2
vim-lsp-settings-8d161f8ca245e6838e58b0039181ff02c94c2cb4.zip
Apply local schema
Diffstat (limited to 'local-schema.json')
-rw-r--r--local-schema.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/local-schema.json b/local-schema.json
new file mode 100644
index 0000000..aa62b26
--- /dev/null
+++ b/local-schema.json
@@ -0,0 +1,41 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema",
+ "additionalProperties": false,
+ "properties": {
+ "cmd": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "initialization_options": {
+ "type": "object"
+ },
+ "root_uri": {
+ "type": "string",
+ "pattern": "^file://\\S+$"
+ },
+ "whitelist": {
+ "items": {
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9_-]+$"
+ },
+ "type": "array"
+ },
+ "blacklist": {
+ "items": {
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9_-]+$"
+ },
+ "type": "array"
+ },
+ "config": {
+ "type": "object"
+ },
+ "workspace_config": {
+ "type": "object"
+ }
+ },
+ "title": "vim-lsp-settings-local",
+ "type": "object"
+}