Skip to content

Commit

Permalink
chore(build): auto-generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 16, 2024
1 parent ab20f1a commit 247699a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dev/source.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This is a function used to get additional details for completion items. This is
## Get Trigger Characters (optional)
`source.get_trigger_characters?(): string[]`

This function should return characters which trigger completion for the source. If one of those characters is types the completion will be retriggered. Otherwise newly entered characters are used for sorting and filtering. An example for this could be `.`, `\\` and `/` when working with paths. ```lua function my_source.get_trigger_characters() return { ".", "\\", "/" } end ```
This function should return characters which trigger completion for the source. If one of those characters is types the completion will be retriggered. Otherwise newly entered characters are used for sorting and filtering. An example for this could be `.`, `\\` and `/` when working with paths. ```lua function my_source.get_trigger_characters() return { ".", "\\", "/" } end ```

## Get Keyword Pattern (optional)
`source:get_keyword_pattern?(): string`
Expand Down

0 comments on commit 247699a

Please sign in to comment.