From 80bd8a436c8eb187edd451e2fa72e00ed9cfccb1 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 19 Jun 2025 08:29:50 +0200 Subject: fix: Temporarily disable `+` typing handler as it moves the cursor position --- src/tools/rust-analyzer/editors/code/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/rust-analyzer/editors/code/package.json') diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json index acac54e53a6..fb41225ca0d 100644 --- a/src/tools/rust-analyzer/editors/code/package.json +++ b/src/tools/rust-analyzer/editors/code/package.json @@ -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" -- cgit 1.4.1-3-g733a5