We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c5dda commit cf120c2Copy full SHA for cf120c2
lsp-sample/server/src/server.ts
@@ -153,12 +153,6 @@ connection.languages.diagnostics.on(async (params) => {
153
}
154
});
155
156
-// The content of a text document has changed. This event is emitted
157
-// when the text document first opened or when its content has changed.
158
-documents.onDidChangeContent(change => {
159
- validateTextDocument(change.document);
160
-});
161
-
162
async function validateTextDocument(textDocument: TextDocument): Promise<Diagnostic[]> {
163
// In this simple example we get the settings for every validate run.
164
const settings = await getDocumentSettings(textDocument.uri);
0 commit comments