Skip to content

Commit c126488

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 <[email protected]>
1 parent 07af862 commit c126488

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
@@ -181,6 +181,11 @@
181181
"default": true,
182182
"description": "Enable/disable hover feature"
183183
},
184+
"yaml.hoverAnchor": {
185+
"type": "boolean",
186+
"default": true,
187+
"description": "Enable/disable hover feature for anchors"
188+
},
184189
"yaml.completion": {
185190
"type": "boolean",
186191
"default": true,

0 commit comments

Comments
 (0)