Skip to content

Commit

Permalink
wip witching to mac studio
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBatty committed Jul 23, 2024
1 parent 81cbdff commit 06b2e51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sway-lsp/src/handlers/notification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub async fn handle_did_change_text_document(
&uri,
Some(params.text_document.version as u64),
);
eprintln!("File versions: {:#?}", file_versions);
//eprintln!("File versions: {:#?}", file_versions);
send_new_compilation_request(
state,
session.clone(),
Expand Down
3 changes: 3 additions & 0 deletions sway-lsp/src/server_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,9 @@ impl ServerState {

let session = self.sessions.get(&manifest_dir).unwrap_or({
// If no session can be found, then we need to call init and insert a new session into the map
eprintln!("💥💥💥💥💥💥💥💥💥💥💥💥💥💥💥 Initializing new session for manifest_dir = {:?}", manifest_dir);


self.init_session(uri).await?;
self.sessions
.get(&manifest_dir)
Expand Down

0 comments on commit 06b2e51

Please sign in to comment.