ServerCompletionConfig

constructor(override: Boolean = false, validFor: Regex? = null)

Parameters

override

When true, the language-server completion source replaces all other completion sources (upstream's autocompletion({override: [...]}) path). When false (the default) it is installed as the editor's completion source — see the deviation note on serverCompletion.

validFor

A custom Regex used as the CompletionResult.validFor for results, allowing the cached list to be reused as the user keeps typing. When null, a regex derived from the result items' prefixes is used (matching upstream's prefixRegexp).