pub fn complete(
line_prefix: &str,
doc_text: &str,
files: Option<&HashMap<PathBuf, String>>,
) -> Vec<Completion>Expand description
Produce completions for the cursor, given the text of the line up to the cursor, the current document text, and the project source root (if any).