Indeed, override
completely replaces the completer. What probably works better for you (I’ll make a note to document it more properly) is something like EditorState.languageData.of(() => [{autocomplete: completeAnyWord}])
, which registers completeAnyWord
as a global completion source.
2 Likes