volar-service-css 0.0.64 → 0.0.66
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/index.js +4 -2
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -151,11 +151,13 @@ function create({ cssDocumentSelector = ['css'], scssDocumentSelector = ['scss']
|
|
|
151
151
|
return worker(document, (stylesheet, cssLs) => {
|
|
152
152
|
const location = cssLs.findDefinition(document, position, stylesheet);
|
|
153
153
|
if (location) {
|
|
154
|
-
return [
|
|
154
|
+
return [
|
|
155
|
+
{
|
|
155
156
|
targetUri: location.uri,
|
|
156
157
|
targetRange: location.range,
|
|
157
158
|
targetSelectionRange: location.range,
|
|
158
|
-
}
|
|
159
|
+
},
|
|
160
|
+
];
|
|
159
161
|
}
|
|
160
162
|
});
|
|
161
163
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "volar-service-css",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.66",
|
|
4
4
|
"description": "Integrate vscode-css-languageservice into Volar",
|
|
5
5
|
"homepage": "https://github.com/volarjs/services/tree/master/packages/css",
|
|
6
6
|
"bugs": "https://github.com/volarjs/services/issues",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"optional": true
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "7113cd822bff8839f54ec8dfb3cb9c0486716230"
|
|
43
43
|
}
|