Files
oak-gpui/crates
Thorsten Ball aa539fc347 lsp: Fix wrong WorkspaceFolder when opening only file (#12129)
This fixes #11361 and #8764 by making sure we pass a directory as
`WorkspaceFolder` to the language server.

We already compute the `working_dir` correctly when
`self.root_path.is_file()`, but we didn't use it.

Release Notes:

- Fixed language servers (such as `gopls`) not starting up correctly
when opening a single file in Zed.
([#11361](https://github.com/zed-industries/zed/issues/11361) and
[#8764](https://github.com/zed-industries/zed/issues/8764)).
2024-05-22 16:32:06 +02:00
..
2024-05-10 15:50:20 -06:00
2024-05-22 14:36:15 +03:00
2024-05-21 10:34:35 -04:00
2024-04-23 13:31:21 -04:00
2024-03-28 18:32:11 +01:00
2024-04-11 15:36:35 -06:00
2024-05-10 15:50:20 -06:00
2024-05-22 14:36:15 +03:00
2024-04-30 23:31:59 -06:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-03-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-05-22 14:36:15 +03:00
2024-05-09 21:08:49 -06:00
2024-05-22 14:36:15 +03:00
2024-05-22 14:36:15 +03:00
2024-05-22 14:36:15 +03:00
2024-05-05 15:02:50 +02:00
2024-04-15 14:21:52 +02:00
2024-05-16 16:55:54 -04:00
2024-05-03 12:50:42 -07:00