Skip to content

Commit

Permalink
Merge pull request #261 from llllvvuu/docs/update_schema
Browse files Browse the repository at this point in the history
docs: update schema with missing fields
  • Loading branch information
mattn authored Sep 6, 2023
2 parents e70ce88 + 8684225 commit 95f915a
Show file tree
Hide file tree
Showing 2 changed files with 217 additions and 56 deletions.
43 changes: 41 additions & 2 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
"plaintext"
]
},
"hover-chars": {
"type": "string"
},
"env": {
"description": "command environment variables and values",
"items": {
Expand Down Expand Up @@ -104,11 +107,27 @@
"description": "offset value to skip lines",
"type": "number"
},
"lint-on-save": {
"description": "only lint on save, i.e. don't lint on text changed",
"type": "boolean"
},
"lint-severity": {
"description": "default severity to show if violation doesn't provide severity. 1 = error, 2 = warning, 3 = info, 4 = hint",
"type": "number"
},
"lint-source": {
"description": "show where the lint came from, e.g. 'eslint'",
"type": "string"
},
"lint-stdin": {
"default": true,
"description": "use stdin for the lint",
"type": "boolean"
},
"lint-workspace": {
"description": "indicates that the command lints the whole workspace and thus doesn't need a filename argument nor stdin",
"type": "boolean"
},
"completion-command": {
"description": "completion command",
"type": "string"
Expand All @@ -118,6 +137,18 @@
"description": "use stdin for the completion",
"type": "boolean"
},
"symbol-command": {
"type": "string"
},
"symbol-stdin": {
"type": "boolean"
},
"symbol-formats": {
"items": {
"type": "string"
},
"type": "array"
},
"root-markers": {
"description": "markers to find root directory",
"items": {
Expand Down Expand Up @@ -172,18 +203,26 @@
"type": "array"
},
"log-file": {
"description": "path to log file",
"description": "(YAML only) path to log file",
"type": "string"
},
"log-level": {
"description": "log level",
"minimum": 1,
"type": "number"
},
"format-debounce": {
"description": "duration to debounce calls to the formatter executable. e.g: 1s",
"type": "string"
},
"lint-debounce": {
"description": "debounce for lints",
"description": "duration to debounce calls to the linter executable. e.g.: 1s",
"type": "string"
},
"provide-definition": {
"description": "(YAML only) Whether this language server should be used for go-to-definition requests",
"type": "boolean"
},
"trigger-chars": {
"description": "trigger characters for completion",
"items": {
Expand Down
Loading

0 comments on commit 95f915a

Please sign in to comment.