mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
align command naming
This commit is contained in:
parent
7abe1f422c
commit
d1a67c1174
18 changed files with 94 additions and 77 deletions
|
@ -42,8 +42,12 @@ export class Server {
|
|||
log: (messageOrDataObject: string | any, data?: string) => {
|
||||
if (typeof messageOrDataObject === 'string') {
|
||||
if (
|
||||
messageOrDataObject.includes('m/publishDecorations') ||
|
||||
messageOrDataObject.includes('m/decorationsRequest')
|
||||
messageOrDataObject.includes(
|
||||
'rust-analyzer/publishDecorations'
|
||||
) ||
|
||||
messageOrDataObject.includes(
|
||||
'rust-analyzer/decorationsRequest'
|
||||
)
|
||||
) {
|
||||
// Don't log publish decorations requests
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue