fix: Temporarily disable + typing handler as it moves the cursor position

This commit is contained in:
Lukas Wirth 2025-06-19 08:29:50 +02:00
parent 6807f60ccd
commit 3ee81c7115
3 changed files with 3 additions and 3 deletions

View file

@ -2846,7 +2846,7 @@
"properties": {
"rust-analyzer.typing.triggerChars": {
"markdownDescription": "Specify the characters allowed to invoke special on typing triggers.\n- typing `=` after `let` tries to smartly add `;` if `=` is followed by an existing expression\n- typing `=` between two expressions adds `;` when in statement position\n- typing `=` to turn an assignment into an equality comparison removes `;` when in expression position\n- typing `.` in a chain method call auto-indents\n- typing `{` or `(` in front of an expression inserts a closing `}` or `)` after the expression\n- typing `{` in a use item adds a closing `}` in the right place\n- typing `>` to complete a return type `->` will insert a whitespace after it\n- typing `<` in a path or type position inserts a closing `>` after the path or type.",
"default": "=.+",
"default": "=.",
"type": [
"null",
"string"