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
11 lines
242 B
Text
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
|