Basic Setup

I am trying to create a bare bones editor and add features as required. However, it seems like highlighting bracket pairs and automatically adding the closing bracket is on by default. Other features that I thought were optional like line numbers showing and current line highlighting are also active. How do I disable it? Here is my code:

const editorSetup = EditorState.create({
  doc: '',
  extensions: [
    keymap.of([
        ...defaultKeymap,
    ])
  ]
})

const editor = new EditorView({
  state: editorSetup,
  parent: cmParent
})

An editor created with just that keymap extension should definitely not have a gutter, bracket matching, or active line highlighting. I suspect your test setup is not doing what you think it is.

Thank you for that information and for replying so fast.