[css] update server

This commit is contained in:
Martin Aeschlimann
2017-11-01 23:16:43 +01:00
parent ff2c299be4
commit 8326351ee0
6 changed files with 33 additions and 32 deletions

View File

@@ -217,7 +217,7 @@ connection.onRequest(ColorPresentationRequest.type, params => {
let document = documents.get(params.textDocument.uri);
if (document) {
let stylesheet = stylesheets.get(document);
return getLanguageService(document).getColorPresentations(document, stylesheet, params.colorInfo);
return getLanguageService(document).getColorPresentations(document, stylesheet, params.color, params.range);
}
return [];
});