Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit 80d81b6

Browse files
fredsamarijnh
authored andcommitted
Explicitly mention keymaps in descriptions of basicSetup and minimalSetup
1 parent ebb632b commit 80d81b6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/codemirror.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ import {lintKeymap} from "@codemirror/lint"
1919
///
2020
/// Specifically, it includes...
2121
///
22-
/// - [the default command bindings](#commands.defaultKeymap)
22+
/// - [the default keymap](#commands.defaultKeymap)
2323
/// - [line numbers](#view.lineNumbers)
2424
/// - [special character highlighting](#view.highlightSpecialChars)
25-
/// - [the undo history](#commands.history)
26-
/// - [a fold gutter](#language.foldGutter)
25+
/// - [the undo history](#commands.history) and [history keymap](#commands.historyKeymap)
26+
/// - [a fold gutter](#language.foldGutter) and [fold keymap](#language.foldKeymap)
2727
/// - [custom selection drawing](#view.drawSelection)
2828
/// - [drop cursor](#view.dropCursor)
2929
/// - [multiple selections](#state.EditorState^allowMultipleSelections)
3030
/// - [reindentation on input](#language.indentOnInput)
3131
/// - [the default highlight style](#language.defaultHighlightStyle) (as fallback)
3232
/// - [bracket matching](#language.bracketMatching)
33-
/// - [bracket closing](#autocomplete.closeBrackets)
34-
/// - [autocompletion](#autocomplete.autocompletion)
33+
/// - [bracket closing](#autocomplete.closeBrackets) and [close brackets keymap](#autocomplete.closeBracketsKeymap)
34+
/// - [autocompletion](#autocomplete.autocompletion) and [completion keymap](#autocomplete.completionKeymap)
3535
/// - [rectangular selection](#view.rectangularSelection) and [crosshair cursor](#view.crosshairCursor)
3636
/// - [active line highlighting](#view.highlightActiveLine)
3737
/// - [active line gutter highlighting](#view.highlightActiveLineGutter)
@@ -78,9 +78,9 @@ export const basicSetup: Extension = (() => [
7878

7979
/// A minimal set of extensions to create a functional editor. Only
8080
/// includes [the default keymap](#commands.defaultKeymap), [undo
81-
/// history](#commands.history), [special character
82-
/// highlighting](#view.highlightSpecialChars), [custom selection
83-
/// drawing](#view.drawSelection), and [default highlight
81+
/// history](#commands.history) and [history keymap](#commands.historyKeymap)
82+
/// [special character highlighting](#view.highlightSpecialChars),
83+
/// [custom selection drawing](#view.drawSelection), and [default highlight
8484
/// style](#language.defaultHighlightStyle).
8585
export const minimalSetup: Extension = (() => [
8686
highlightSpecialChars(),

0 commit comments

Comments
 (0)