gleam-lang/gleam

Gleam LSP won't show autocomplete on function return type

Open

#5332 opened on Jan 28, 2026

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

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