lean4-htt/tests/lean/interactive/issue5021.lean.expected.out
Joachim Breitner e5d44f4033
fix: hover text over _ in ?_ (#5118)
in principle we'd like to use the existing parser
```
   "?" >> (ident <|> hole)
```
but somehow annotate it so that hovering the `hole` will not show the
hole's hover. But for now it was easier to just change the parser to
```
   "?" >> (ident <|> "_")
```
and be done with it.

Fixes #5021
2024-08-21 20:47:19 +00:00

32 lines
1.4 KiB
Text

{"textDocument": {"uri": "file:///issue5021.lean"},
"position": {"line": 1, "character": 9}}
{"range":
{"start": {"line": 1, "character": 9}, "end": {"line": 1, "character": 11}},
"contents":
{"value":
"```lean\nFalse\n```\n***\nParses a \"synthetic hole\", that is, `?foo` or `?_`.\nThis syntax is used to construct named metavariables. ",
"kind": "markdown"}}
{"textDocument": {"uri": "file:///issue5021.lean"},
"position": {"line": 1, "character": 10}}
{"range":
{"start": {"line": 1, "character": 9}, "end": {"line": 1, "character": 11}},
"contents":
{"value":
"```lean\nFalse\n```\n***\nParses a \"synthetic hole\", that is, `?foo` or `?_`.\nThis syntax is used to construct named metavariables. ",
"kind": "markdown"}}
{"textDocument": {"uri": "file:///issue5021.lean"},
"position": {"line": 7, "character": 9}}
{"range":
{"start": {"line": 7, "character": 9}, "end": {"line": 7, "character": 12}},
"contents":
{"value":
"```lean\nFalse\n```\n***\nParses a \"synthetic hole\", that is, `?foo` or `?_`.\nThis syntax is used to construct named metavariables. ",
"kind": "markdown"}}
{"textDocument": {"uri": "file:///issue5021.lean"},
"position": {"line": 7, "character": 11}}
{"range":
{"start": {"line": 7, "character": 9}, "end": {"line": 7, "character": 12}},
"contents":
{"value":
"```lean\nFalse\n```\n***\nParses a \"synthetic hole\", that is, `?foo` or `?_`.\nThis syntax is used to construct named metavariables. ",
"kind": "markdown"}}