LSP: Move code around

No behavior should change in this patch!

Move all the code directly related to the LSP into a `language` module,
with `server_loop.rs` becoming `language.rs`, managing that module.

All the preview related code is moved into `preview`, with `preview.rs`
basically forwarding to `native.rs` and `wasm.rs`.

Code accessed from both `language` and `preview` stayed where it was.
This commit is contained in:
Tobias Hunger 2023-08-28 10:16:22 +02:00 committed by Tobias Hunger
parent 65f9e6f1eb
commit 4dda627d14
12 changed files with 456 additions and 454 deletions

1310
tools/lsp/language.rs Normal file

File diff suppressed because it is too large Load diff