Skip to content

Commit 4482536

Browse files
committed
Add new setting to enable/disable anchor hover support
See redhat-developer/yaml-language-server#1150 Draft PR until it gets merged. Signed-off-by: David Thompson <davthomp@redhat.com>
1 parent 0a8fb7d commit 4482536

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ The following settings are supported:
4646
* `yaml.format.trailingComma`: Specify if trailing commas should be used in JSON-like segments of the YAML
4747
* `yaml.validate`: Enable/disable validation feature
4848
* `yaml.hover`: Enable/disable hover
49+
* `yaml.hoverAnchor`: Enable/disable hover feature for anchors
4950
* `yaml.completion`: Enable/disable autocompletion
5051
* `yaml.schemas`: Helps you associate schemas with files in a glob pattern
5152
* `yaml.schemaStore.enable`: When set to true, the YAML language server will pull in all available schemas from [JSON Schema Store](http://schemastore.org/json/)

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@
171171
"default": true,
172172
"description": "Enable/disable hover feature"
173173
},
174+
"yaml.hoverAnchor": {
175+
"type": "boolean",
176+
"default": "true",
177+
"description": "Enable/disable hover feature for anchors"
178+
},
174179
"yaml.completion": {
175180
"type": "boolean",
176181
"default": true,

0 commit comments

Comments
 (0)