feat: Allow multiple prefix characters to trigger a suggestion (#2896)

* feat: Allow multiple prefix characters to trigger a suggestion

* review: Turn `allowedPrefixes` into an array instead
This commit is contained in:
Ricardo Amaral
2022-06-21 22:17:26 +01:00
committed by GitHub
parent 53e39d0c47
commit 482cb960d6
3 changed files with 12 additions and 7 deletions

View File

@@ -21,6 +21,11 @@ Allows or disallows spaces in suggested items.
Default: `false`
### allowedPrefixes
The prefix characters that are allowed to trigger a suggestion. Set to `null` to allow any prefix character.
Default: `[' ']`
### startOfLine
Trigger the autocomplete popup at the start of a line only.