# Functions
Complete runs the code completion algorithm in the given context, and returns the completion type, items and any error encountered.
FilterPrefix filters raw items by prefix.
GenerateFileNames returns directory name candidates that are suitable for completing the last argument.
GenerateFileNames returns filename candidates that are suitable for completing the last argument.
GenerateForSudo generates candidates for sudo.
# Structs
CodeBuffer is the same the type in src.elv.sh/pkg/el/codearea, replicated here to avoid an unnecessary dependency.
ComplexItem is an implementation of RawItem that offers customization options.
Config stores the configuration required for code completion.
Result keeps the result of the completion algorithm.
# Interfaces
RawItem represents completion items before the quoting pass.
# Type aliases
ArgGenerator is the type of functions that generate raw candidates for a command argument.
Filterer is the type of functions that filter raw candidates.
PlainItem is a simple implementation of RawItem.