Commit graph

4 commits

Author SHA1 Message Date
Tobias Hunger
d5cc147644 lsp: Use one common Error type (where possible) 2023-08-30 10:31:55 +02:00
Tobias Hunger
b35ccfcc77 lsp: Do not pass around a CompilerConfiguration
... when we only want the style and include_paths.
2023-08-24 17:14:54 +02:00
Tobias Hunger
3a1e077d18 lsp: Make the LSP part talk to the Preview part via the PreviewApi only
This should make it simpler to actually unify the WASM binaries of the
previewer and the LSP in an extra step.

Turn the PreviewApi into a trait object for easier use and
documentation.
2023-08-24 17:14:54 +02:00
Tobias Hunger
89a2e34c9e lsp: Extract some types out into a new common location
These are types I want to use to separate the previewer and the LSP part
more cleanly going forward.
2023-08-24 17:14:54 +02:00