mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Add typing handler for param list pipe
This commit is contained in:
parent
5dc5107e9c
commit
54dbf1b446
6 changed files with 69 additions and 29 deletions
|
@ -402,6 +402,8 @@ impl Analysis {
|
|||
self.with_db(|db| typing::on_enter(db, position))
|
||||
}
|
||||
|
||||
pub const SUPPORTED_TRIGGER_CHARS: &'static str = typing::TRIGGER_CHARS;
|
||||
|
||||
/// Returns an edit which should be applied after a character was typed.
|
||||
///
|
||||
/// This is useful for some on-the-fly fixups, like adding `;` to `let =`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue