Files
oak-gpui/crates
Antonio Scandurra 45eb0e7889 Clip invalid edits from LSP instead of reporting an error
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.
2022-07-26 08:43:27 +02:00
..
2022-05-31 11:16:32 +02:00
🎨
2022-05-23 09:48:00 +02:00
2022-05-09 12:48:07 -06:00
2022-07-07 16:16:58 +02:00
2022-07-15 13:16:01 +02:00
2022-07-25 11:36:52 -07:00
2022-07-20 10:04:08 -07:00
2022-07-25 16:08:31 -07:00