about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2024-12-06 12:03:52 +0000
committerGitHub <noreply@github.com>2024-12-06 12:03:52 +0000
commitb4dc94d30538569b32e1c4b90eefa954863c2e12 (patch)
treec23a60a07070ddd3ec10e35140027c76fc4a28f3 /src/tools/rust-analyzer/editors/code
parent02676108a54f3b7d1c17d5ea8611a3b66dc5cc32 (diff)
parent069fb0f475c6e7398e4ef75c3f765415197707aa (diff)
downloadrust-b4dc94d30538569b32e1c4b90eefa954863c2e12.tar.gz
rust-b4dc94d30538569b32e1c4b90eefa954863c2e12.zip
Merge pull request #18474 from Veykril/push-nvtxykxkwnvs
Make bracket typing handler work on more things
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
-rw-r--r--src/tools/rust-analyzer/editors/code/package.json2
-rw-r--r--src/tools/rust-analyzer/editors/code/src/client.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json
index 7529651ca7a..68c61e4bf62 100644
--- a/src/tools/rust-analyzer/editors/code/package.json
+++ b/src/tools/rust-analyzer/editors/code/package.json
@@ -2607,7 +2607,7 @@
                 "properties": {
                     "rust-analyzer.typing.excludeChars": {
                         "markdownDescription": "Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`. Setting this to a string will disable typing assists for the specified characters.",
-                        "default": "<",
+                        "default": null,
                         "type": [
                             "null",
                             "string"
diff --git a/src/tools/rust-analyzer/editors/code/src/client.ts b/src/tools/rust-analyzer/editors/code/src/client.ts
index eac7b849fdb..4ce19f5c665 100644
--- a/src/tools/rust-analyzer/editors/code/src/client.ts
+++ b/src/tools/rust-analyzer/editors/code/src/client.ts
@@ -324,7 +324,7 @@ class ExperimentalFeatures implements lc.StaticFeature {
     }
     fillClientCapabilities(capabilities: lc.ClientCapabilities): void {
         capabilities.experimental = {
-            snippetTextEdit: true,
+            snippetTextEdit: false,
             codeActionGroup: true,
             hoverActions: true,
             serverStatusNotification: true,