Skip to content

Commit

Permalink
Clean up naming of exports from autocomplete package
Browse files Browse the repository at this point in the history
BREAKING: A number of exports from the autocomplete plugin were
renamed: `autocomplete` to `autocompletion`, `AutocompleteContext` to
`CompletionContext`, `Autocompleter` to `CompletionSource`.
  • Loading branch information
marijnh committed Aug 21, 2020
1 parent 8396a85 commit 62e6be8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/basic-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {defaultKeymap} from "@codemirror/next/commands"
import {bracketMatching} from "@codemirror/next/matchbrackets"
import {closeBrackets, closeBracketsKeymap} from "@codemirror/next/closebrackets"
import {searchKeymap} from "@codemirror/next/search"
import {autocomplete, autocompleteKeymap} from "@codemirror/next/autocomplete"
import {autocompletion, completionKeymap} from "@codemirror/next/autocomplete"
import {commentKeymap} from "@codemirror/next/comment"
import {rectangularSelection} from "@codemirror/next/rectangular-selection"
import {gotoLineKeymap} from "@codemirror/next/goto-line"
Expand Down Expand Up @@ -59,7 +59,7 @@ export const basicSetup: Extension = [
defaultHighlighter,
bracketMatching(),
closeBrackets(),
autocomplete(),
autocompletion(),
rectangularSelection(),
highlightActiveLine(),
highlightSelectionMatches(),
Expand All @@ -71,7 +71,7 @@ export const basicSetup: Extension = [
...foldKeymap,
...commentKeymap,
...gotoLineKeymap,
...autocompleteKeymap,
...completionKeymap,
...lintKeymap
])
]
Expand Down

0 comments on commit 62e6be8

Please sign in to comment.