Skip to content

Commit

Permalink
update LSP connection message
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodingwizard committed Jun 7, 2024
1 parent 8878831 commit 7f81860
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/editor/MonacoEditor/lsp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ export default function createLSPConnection(language: 'cpp' | 'python') {

if (event.reason) {
notify('Connection closed: ' + event.reason);
} else {
} else if (event.wasClean) {
notify('Connection closed');
} else {
notify('Connection closed unexpectedly');
}

if (languageClient) {
Expand Down

0 comments on commit 7f81860

Please sign in to comment.