Add typing handler for param list pipe

This commit is contained in:
Lukas Wirth 2024-12-06 15:35:13 +01:00
parent 5dc5107e9c
commit 54dbf1b446
6 changed files with 69 additions and 29 deletions

View file

@ -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 =`