about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates
diff options
context:
space:
mode:
authorLukas Wirth <me@lukaswirth.dev>2025-06-19 08:29:50 +0200
committerLukas Wirth <me@lukaswirth.dev>2025-06-19 08:29:50 +0200
commit80bd8a436c8eb187edd451e2fa72e00ed9cfccb1 (patch)
tree8f1b9fa61849d6bf104b05d0a6d10a91a004f5ae /src/tools/rust-analyzer/crates
parente7971e4a9b815968139b977ece9a76b62bf4fb10 (diff)
fix: Temporarily disable `+` typing handler as it moves the cursor position
Diffstat (limited to 'src/tools/rust-analyzer/crates')
-rw-r--r--src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs b/src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs
index 32560bb26f1..76a4a26af64 100644
--- a/src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs
+++ b/src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs
@@ -344,7 +344,7 @@ config_data! {
         /// - typing `{` in a use item adds a closing `}` in the right place
         /// - typing `>` to complete a return type `->` will insert a whitespace after it
         /// - typing `<` in a path or type position inserts a closing `>` after the path or type.
-        typing_triggerChars: Option<String> = Some("=.+".to_owned()),
+        typing_triggerChars: Option<String> = Some("=.".to_owned()),
 
 
         /// Enables automatic discovery of projects using [`DiscoverWorkspaceConfig::command`].