Merge pull request #153 from TimothyMerlin/fix/vim-selection-highlight

Reviewed: clean bugfix, adds drawSelection() for vim visual mode
This commit is contained in:
Hanjin Bae 2026-06-08 23:13:58 +09:00 committed by GitHub
commit 17a9b3caaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@ import { useCallback, useEffect, useRef, useState, useMemo } from "react";
import { Compartment, EditorState, Prec, Transaction } from "@codemirror/state";
import {
EditorView,
drawSelection,
keymap,
lineNumbers,
highlightActiveLine,
@ -620,6 +621,7 @@ export function LatexEditor() {
extensions: [
compileKeymap,
lineNumbers(),
drawSelection(),
highlightActiveLine(),
highlightActiveLineGutter(),
history(),