Skip to content

Commit 92b7fa7

Browse files
committed
fix: duplicated onDidSaveTextDocument notification
1 parent 1d597bd commit 92b7fa7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/amazonq/src/lsp/client.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
CreateFilesParams,
1313
DeleteFilesParams,
1414
DidChangeWorkspaceFoldersParams,
15-
DidSaveTextDocumentParams,
1615
GetConfigurationFromServerParams,
1716
RenameFilesParams,
1817
ResponseMessage,
@@ -325,13 +324,6 @@ async function onLanguageServerReady(
325324
}),
326325
} as RenameFilesParams)
327326
}),
328-
vscode.workspace.onDidSaveTextDocument((e) => {
329-
client.sendNotification('textDocument/didSave', {
330-
textDocument: {
331-
uri: e.uri.fsPath,
332-
},
333-
} as DidSaveTextDocumentParams)
334-
}),
335327
vscode.workspace.onDidChangeWorkspaceFolders((e) => {
336328
client.sendNotification('workspace/didChangeWorkspaceFolder', {
337329
event: {

0 commit comments

Comments
 (0)