mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Support LESS and SASS in color picker. Resolves #31753
This commit is contained in:
parent
5dd617c232
commit
19f17905e7
|
@ -107,7 +107,7 @@ export function activate(context: ExtensionContext) {
|
|||
};
|
||||
|
||||
const colorProvider = new ColorProvider(client);
|
||||
context.subscriptions.push(languages.registerColorProvider('css', colorProvider));
|
||||
context.subscriptions.push(languages.registerColorProvider(['css', 'scss', 'less'], colorProvider));
|
||||
|
||||
disposable = activateColorDecorations(colorRequestor, { css: true, scss: true, less: true }, isDecoratorEnabled);
|
||||
context.subscriptions.push(disposable);
|
||||
|
|
Loading…
Reference in a new issue