lean4-htt/tests/lean/interactive/completionBracketedDot.lean
Marc Huisinga a58520da16
fix: travelling auto-completion (#5257)
Fixes #4455, fixes #4705, fixes #5219

Also fixes a minor bug where a dot in brackets would report incorrect
completions instead of no completions.

---------

Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2024-09-10 07:26:44 +00:00

10 lines
214 B
Text

inductive Direction where
| up
| right
| down
| left
-- It would be nice if this actually provided `up`, `right`, `down` and `left` in the future
def foo : Direction :=
(.)
--^ textDocument/completion