gleam-lang/gleam

Gleam LSP won't show autocomplete on function return type

Open

#5,332 opened on Jan 28, 2026

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Rust (960 forks)batch import
help wanted

Repository metrics

Stars
 (21,417 stars)
PR merge metrics
 (Avg merge 10d 19h) (69 merged PRs in 30d)

Description

How to reproduce:

  1. Type your function (fn square() -> I)
  2. After typing 'I' the LSP doesn't give 'Int' or other suggestion.

Gleam v1.14, tree-sitter-gleam v1.10

Contributor guide