Skip to content

Commit 2fd67d3

Browse files
committed
don't check feature registry if there are smart select providers, there is always the word based one, microsoft#144297
1 parent 76fc703 commit 2fd67d3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/vs/editor/contrib/smartSelect/browser/smartSelect.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ class SmartSelectController implements IEditorContribution {
7979

8080
const selections = this._editor.getSelections();
8181
const model = this._editor.getModel();
82-
if (!this._languageFeaturesService.selectionRangeProvider.has(model)) {
83-
return;
84-
}
8582

8683
if (!this._state) {
8784

0 commit comments

Comments
 (0)