Commit c0b6d86 1 parent 39728cf commit c0b6d86 Copy full SHA for c0b6d86
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use futures::StreamExt;
5
5
use gpui:: { App , AsyncApp , Task } ;
6
6
use http_client:: github:: latest_github_release;
7
7
pub use language:: * ;
8
- use lsp:: { LanguageServerBinary , LanguageServerName } ;
8
+ use lsp:: { InitializeParams , LanguageServerBinary , LanguageServerName } ;
9
9
use project:: Fs ;
10
10
use regex:: Regex ;
11
11
use serde_json:: json;
@@ -373,6 +373,14 @@ impl super::LspAdapter for GoLspAdapter {
373
373
filter_range,
374
374
} )
375
375
}
376
+ fn prepare_initialize_params (
377
+ & self ,
378
+ mut original : InitializeParams ,
379
+ ) -> Result < InitializeParams > {
380
+ #[ allow( deprecated) ]
381
+ let _ = original. root_uri . take ( ) ;
382
+ Ok ( original)
383
+ }
376
384
}
377
385
378
386
fn parse_version_output ( output : & Output ) -> Result < & str > {
You can’t perform that action at this time.
0 commit comments