mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
[css] fix path completion participant
This commit is contained in:
@@ -20,7 +20,7 @@ export function getPathCompletionParticipant(
|
||||
result: CompletionList
|
||||
): ICompletionParticipant {
|
||||
return {
|
||||
onURILiteralValue: ({ position, range, uriValue }) => {
|
||||
onCssURILiteralValue: ({ position, range, uriValue }) => {
|
||||
const isValueQuoted = startsWith(uriValue, `'`) || startsWith(uriValue, `"`);
|
||||
const fullValue = stripQuotes(uriValue);
|
||||
const valueBeforeCursor = isValueQuoted
|
||||
|
||||
Reference in New Issue
Block a user