lean4-htt/tests/lean/interactive/issue5021.lean
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

11 lines
242 B
Text

example : False := by
refine ?_
--^ textDocument/hover
--^ textDocument/hover
sorry
example : False := by
refine ? _ -- check that a space is allowed
--^ textDocument/hover
--^ textDocument/hover
sorry