-
-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Per spec, textDocument/documentColor returns ColorInformation[] and must never return null. In vue language server it does return null in some cases. For example when style block is removed in a vue file.
I suppose this code might be responsible (undefined becomes null when passed through JSON RPC):
| return plugin[1].provideDocumentColors?.(document, token); |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels