vscode-css-languageservice 5.1.8 → 5.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/cssLanguageService.js +2 -2
- package/lib/esm/data/webCustomData.js +172 -151
- package/lib/esm/languageFacts/colors.js +30 -2
- package/lib/esm/languageFacts/entry.js +11 -6
- package/lib/esm/parser/cssParser.js +1 -0
- package/lib/esm/services/cssCompletion.js +1 -1
- package/lib/esm/services/cssNavigation.js +39 -12
- package/lib/esm/services/lint.js +1 -1
- package/lib/esm/services/scssCompletion.js +2 -2
- package/lib/esm/services/scssNavigation.js +1 -1
- package/lib/esm/services/selectorPrinting.js +5 -5
- package/lib/umd/cssLanguageService.js +2 -2
- package/lib/umd/data/webCustomData.js +172 -151
- package/lib/umd/languageFacts/colors.js +30 -2
- package/lib/umd/languageFacts/entry.js +12 -7
- package/lib/umd/parser/cssParser.js +1 -0
- package/lib/umd/services/cssCompletion.js +1 -1
- package/lib/umd/services/cssNavigation.js +39 -12
- package/lib/umd/services/lint.js +1 -1
- package/lib/umd/services/scssCompletion.js +2 -2
- package/lib/umd/services/scssNavigation.js +1 -1
- package/lib/umd/services/selectorPrinting.js +5 -5
- package/package.json +9 -9
|
@@ -59,7 +59,7 @@ var defaultLanguageServiceOptions = {};
|
|
|
59
59
|
export function getCSSLanguageService(options) {
|
|
60
60
|
if (options === void 0) { options = defaultLanguageServiceOptions; }
|
|
61
61
|
var cssDataManager = new CSSDataManager(options);
|
|
62
|
-
return createFacade(new Parser(), new CSSCompletion(null, options, cssDataManager), new CSSHover(options && options.clientCapabilities, cssDataManager), new CSSNavigation(options && options.fileSystemProvider), new CSSCodeActions(cssDataManager), new CSSValidation(cssDataManager), cssDataManager);
|
|
62
|
+
return createFacade(new Parser(), new CSSCompletion(null, options, cssDataManager), new CSSHover(options && options.clientCapabilities, cssDataManager), new CSSNavigation(options && options.fileSystemProvider, false), new CSSCodeActions(cssDataManager), new CSSValidation(cssDataManager), cssDataManager);
|
|
63
63
|
}
|
|
64
64
|
export function getSCSSLanguageService(options) {
|
|
65
65
|
if (options === void 0) { options = defaultLanguageServiceOptions; }
|
|
@@ -69,5 +69,5 @@ export function getSCSSLanguageService(options) {
|
|
|
69
69
|
export function getLESSLanguageService(options) {
|
|
70
70
|
if (options === void 0) { options = defaultLanguageServiceOptions; }
|
|
71
71
|
var cssDataManager = new CSSDataManager(options);
|
|
72
|
-
return createFacade(new LESSParser(), new LESSCompletion(options, cssDataManager), new CSSHover(options && options.clientCapabilities, cssDataManager), new CSSNavigation(options && options.fileSystemProvider), new CSSCodeActions(cssDataManager), new CSSValidation(cssDataManager), cssDataManager);
|
|
72
|
+
return createFacade(new LESSParser(), new LESSCompletion(options, cssDataManager), new CSSHover(options && options.clientCapabilities, cssDataManager), new CSSNavigation(options && options.fileSystemProvider, true), new CSSCodeActions(cssDataManager), new CSSValidation(cssDataManager), cssDataManager);
|
|
73
73
|
}
|