Skip to content

Commit bcdc8ca

Browse files
committed
Drop duplicate code
1 parent 73cc9cb commit bcdc8ca

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • extensions/css-language-features/client/src

extensions/css-language-features/client/src/cssMain.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ export function activate(context: ExtensionContext) {
6161
type: (item.documentation as string)
6262
};
6363
}
64-
const range = item.range;
65-
if (range instanceof Range && range.end.isAfter(position) && range.start.isBeforeOrEqual(position)) {
66-
item.range = { inserting: new Range(range.start, position), replacing: range };
67-
}
6864
}
6965
// testing the new completion
7066
function updateProposals(r: CompletionItem[] | CompletionList | null | undefined): CompletionItem[] | CompletionList | null | undefined {

0 commit comments

Comments
 (0)