mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
internal: Make autoclosing angle brackets configurable, disabled by default
This commit is contained in:
parent
d7c147406e
commit
f02c915eb5
6 changed files with 25 additions and 2 deletions
|
@ -92,7 +92,7 @@ fn on_char_typed_inner(
|
|||
'<' => on_left_angle_typed(&file.tree(), offset),
|
||||
'>' => conv(on_right_angle_typed(&file.tree(), offset)),
|
||||
'{' => conv(on_opening_brace_typed(file, offset)),
|
||||
_ => unreachable!(),
|
||||
_ => return None,
|
||||
};
|
||||
|
||||
fn conv(text_edit: Option<TextEdit>) -> Option<ExtendedTextEdit> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue