File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ impl WorkspaceProtoConfigs {
2929 . output ( )
3030 {
3131 if output. status . success ( ) {
32- let p = String :: from_utf8_lossy ( & output. stdout ) . to_string ( ) ;
32+ let p = String :: from_utf8_lossy ( & output. stdout )
33+ . trim_matches ( '\n' )
34+ . to_string ( ) ;
3335 git_root = Some ( PathBuf :: from ( p) )
3436 }
3537 }
Original file line number Diff line number Diff line change 11pub enum Jumpable {
22 Import ( String ) ,
3- Identifier ( String )
3+ Identifier ( String ) ,
44}
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ use tower::ServiceBuilder;
1010use tracing:: Level ;
1111
1212mod config;
13+ mod context;
1314mod formatter;
1415mod lsp;
1516mod nodekind;
@@ -18,7 +19,6 @@ mod server;
1819mod state;
1920mod utils;
2021mod workspace;
21- mod context;
2222
2323#[ tokio:: main( flavor = "current_thread" ) ]
2424async fn main ( ) {
You can’t perform that action at this time.
0 commit comments