mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
45eb0e7889
This fixes an issue with the Go language server, which reports invalid formatting ranges when there's a missing newline at the end of the file. Specifically, if the buffer is `N` lines long, it will try to insert the newline at `Point(N + 1, 0)`. I confirmed the behavior is the same in VS Code, and they indeed clip the LSP ranges as well. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |