Skip to content

Commit 6ffd883

Browse files
rcosta358codex
andcommitted
Disable matching highlights for selected editor text
Co-authored-by: Codex <codex@openai.com>
1 parent b6c6621 commit 6ffd883

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎scripts/playground/editor-setup.mjs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { EditorState } from '@codemirror/state';
22
import { lineNumbers, highlightActiveLineGutter, highlightSpecialChars, drawSelection, dropCursor, rectangularSelection, crosshairCursor, highlightActiveLine, keymap } from '@codemirror/view';
33
import { indentOnInput, bracketMatching } from '@codemirror/language';
44
import { history, defaultKeymap, historyKeymap } from '@codemirror/commands';
5-
import { highlightSelectionMatches, searchKeymap } from '@codemirror/search';
5+
import { searchKeymap } from '@codemirror/search';
66
import { closeBrackets, autocompletion, closeBracketsKeymap, completionKeymap } from '@codemirror/autocomplete';
77
import { linter, lintKeymap } from '@codemirror/lint';
88

@@ -21,7 +21,6 @@ export const editorSetup = [
2121
rectangularSelection(),
2222
crosshairCursor(),
2323
highlightActiveLine(),
24-
highlightSelectionMatches(),
2524
linter(null, { tooltipFilter: () => [] }),
2625
keymap.of([
2726
...closeBracketsKeymap,

0 commit comments

Comments
 (0)