mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
postfix completion
This commit is contained in:
parent
f133702f72
commit
5d1a63c695
6 changed files with 316 additions and 34 deletions
|
@ -7,6 +7,7 @@ mod complete_keyword;
|
|||
mod complete_snippet;
|
||||
mod complete_path;
|
||||
mod complete_scope;
|
||||
mod complete_postfix;
|
||||
|
||||
use ra_db::SyntaxDatabase;
|
||||
|
||||
|
@ -57,6 +58,6 @@ pub(crate) fn completions(db: &db::RootDatabase, position: FilePosition) -> Opti
|
|||
complete_path::complete_path(&mut acc, &ctx);
|
||||
complete_scope::complete_scope(&mut acc, &ctx);
|
||||
complete_dot::complete_dot(&mut acc, &ctx);
|
||||
|
||||
complete_postfix::complete_postfix(&mut acc, &ctx);
|
||||
Some(acc)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue