Ensure no default extensions conflict with extensions in defaultSettings
This commit is contained in:
parent
10156f0067
commit
06fafbd8eb
1 changed files with 5 additions and 5 deletions
|
|
@ -23,20 +23,20 @@ import { completionKeymap, closeBracketsKeymap } from '@codemirror/autocomplete'
|
||||||
// Taken + slightly modified from https://github.com/codemirror/basic-setup/blob/main/src/codemirror.ts
|
// Taken + slightly modified from https://github.com/codemirror/basic-setup/blob/main/src/codemirror.ts
|
||||||
|
|
||||||
export const basicSetup = (() => [
|
export const basicSetup = (() => [
|
||||||
lineNumbers(),
|
// lineNumbers(),
|
||||||
highlightActiveLineGutter(),
|
// highlightActiveLineGutter(),
|
||||||
highlightSpecialChars(),
|
highlightSpecialChars(),
|
||||||
history(),
|
history(),
|
||||||
foldGutter(),
|
// foldGutter(),
|
||||||
drawSelection(),
|
drawSelection(),
|
||||||
dropCursor(),
|
dropCursor(),
|
||||||
// EditorState.allowMultipleSelections.of(true),
|
// EditorState.allowMultipleSelections.of(true),
|
||||||
// indentOnInput(),
|
// indentOnInput(),
|
||||||
syntaxHighlighting(defaultHighlightStyle, { fallback: true }),
|
// syntaxHighlighting(defaultHighlightStyle, { fallback: true }),
|
||||||
// autocompletion(),
|
// autocompletion(),
|
||||||
rectangularSelection(),
|
rectangularSelection(),
|
||||||
crosshairCursor(),
|
crosshairCursor(),
|
||||||
highlightActiveLine(),
|
// highlightActiveLine(),
|
||||||
highlightSelectionMatches(),
|
highlightSelectionMatches(),
|
||||||
keymap.of([
|
keymap.of([
|
||||||
...closeBracketsKeymap,
|
...closeBracketsKeymap,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue