Skip to content

Commit

Permalink
refactor: remove
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Oct 15, 2024
1 parent 3f4d883 commit 234abc7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lsp/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,8 @@ impl LanguageServer for Backend {
}

async fn did_open(&self, params: DidOpenTextDocumentParams) {
let doc = Document::new(params.text_document.uri);
self.client
.log_message(
MessageType::INFO,
format!("Discord Presence LL OPEN! {}", doc.get_filename()),
)
self.on_change(Document::new(params.text_document.uri))
.await;

self.on_change(doc).await;
}

async fn did_change(&self, params: DidChangeTextDocumentParams) {
Expand Down

0 comments on commit 234abc7

Please sign in to comment.