gleam-lang/gleam
View on GitHubGleam LSP won't show autocomplete on function return type
Open
#5332 opened on Jan 28, 2026
help wanted
Description
How to reproduce:
- Type your function (
fn square() -> I) - After typing 'I' the LSP doesn't give 'Int' or other suggestion.
Gleam v1.14, tree-sitter-gleam v1.10