mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 22:43:18 +00:00
This PR updates the Gleam extension to strip out newlines in the completion details returned from the language server. These newlines were causing the completion menu to compute a large height for each item, resulting in lots of empty space in the completion menu: <img width="878" alt="Screenshot 2024-04-08 at 8 53 29 PM" src="https://github.com/zed-industries/zed/assets/1486634/383c52ec-e5cb-4496-ae4c-28744b4ecaf5"> The approach to stripping newlines allocates a bit more than I would like. It would be good to see if it is possible for the Gleam language server to not send us these newlines in the first place. Release Notes: - N/A |
||
|---|---|---|
| .. | ||
| astro | ||
| clojure | ||
| csharp | ||
| dart | ||
| emmet | ||
| erlang | ||
| gleam | ||
| haskell | ||
| html | ||
| php | ||
| prisma | ||
| purescript | ||
| svelte | ||
| toml | ||
| uiua | ||
| zig | ||
| .gitignore | ||