mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Language server: prelude support. (#7417)
Support multi-file compilation, and in particular imports of files from the prelude, in `carbon language_server`. In order to properly interface with `CompileDriver`, also switch over to building a proper VFS from the documents we're given. Assisted-by: Gemini via Antigravity
This commit is contained in:
@@ -30,7 +30,7 @@ auto LanguageServerSubcommand::Run(DriverEnv& driver_env) -> DriverResult {
|
||||
bool success =
|
||||
LanguageServer::Run(*driver_env.installation, driver_env.input_stream,
|
||||
*driver_env.output_stream, *driver_env.error_stream,
|
||||
driver_env.vlog_stream, driver_env.consumer);
|
||||
driver_env.vlog_stream, *driver_env.consumer);
|
||||
return {.success = success};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user