diff options
Diffstat (limited to 'editors/code/src/server.ts')
-rw-r--r-- | editors/code/src/server.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/code/src/server.ts b/editors/code/src/server.ts index 35fb7e3f5..0d2632708 100644 --- a/editors/code/src/server.ts +++ b/editors/code/src/server.ts | |||
@@ -42,8 +42,12 @@ export class Server { | |||
42 | log: (messageOrDataObject: string | any, data?: string) => { | 42 | log: (messageOrDataObject: string | any, data?: string) => { |
43 | if (typeof messageOrDataObject === 'string') { | 43 | if (typeof messageOrDataObject === 'string') { |
44 | if ( | 44 | if ( |
45 | messageOrDataObject.includes('m/publishDecorations') || | 45 | messageOrDataObject.includes( |
46 | messageOrDataObject.includes('m/decorationsRequest') | 46 | 'rust-analyzer/publishDecorations' |
47 | ) || | ||
48 | messageOrDataObject.includes( | ||
49 | 'rust-analyzer/decorationsRequest' | ||
50 | ) | ||
47 | ) { | 51 | ) { |
48 | // Don't log publish decorations requests | 52 | // Don't log publish decorations requests |
49 | } else { | 53 | } else { |