Skip to content

Commit

Permalink
Remove "custom" LSP request method prefix in favor of more appropriat…
Browse files Browse the repository at this point in the history
…e "textDocument"
  • Loading branch information
jakob-ed committed Feb 9, 2020
1 parent 472a5a1 commit 42772a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public void publishDiagnostics(PublishDiagnosticsParams params) {

@Override
public void publishDecorations(PublishDecorationsParams params) {
sendNotification("custom/publishDecorations", params.jsonData);
sendNotification("textDocument/publishDecorations", params.jsonData);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { Position, Range, window, TextEditorDecorationType} from 'vscode';
// import NamedDisposable from '../utils/namedDisposable';

export const PUBLISH_DECORATIONS_REQUEST: string = "custom/publishDecorations";
export const PUBLISH_DECORATIONS_REQUEST: string = "textDocument/publishDecorations";
const PROBE_DECORATION_TYPE = "PROBE_DECORATION";
const ASSERTION_DECORATION_TYPE = "ASSERTION_DECORATION";
const EXAMPLE_DECORATION_TYPE = "EXAMPLE_DECORATION";
Expand Down

0 comments on commit 42772a1

Please sign in to comment.