Skip to content

Commit 91adfec

Browse files
authored
Merge pull request rust-lang#18647 from Veykril/push-nsrrmmnzzoym
internal: Disable pipe on typing handler
2 parents 244b1fd + 2ad6d71 commit 91adfec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ config_data! {
305305
signatureInfo_documentation_enable: bool = true,
306306

307307
/// Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`.
308-
typing_excludeChars: Option<String> = Some('<'.to_string()),
308+
typing_excludeChars: Option<String> = Some("|<".to_owned()),
309309

310310

311311
/// Enables automatic discovery of projects using [`DiscoverWorkspaceConfig::command`].

src/tools/rust-analyzer/docs/user/generated_config.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ Show full signature of the callable. Only shows parameters if disabled.
992992
--
993993
Show documentation.
994994
--
995-
[[rust-analyzer.typing.excludeChars]]rust-analyzer.typing.excludeChars (default: `"<"`)::
995+
[[rust-analyzer.typing.excludeChars]]rust-analyzer.typing.excludeChars (default: `"|<"`)::
996996
+
997997
--
998998
Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`.

src/tools/rust-analyzer/editors/code/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2607,7 +2607,7 @@
26072607
"properties": {
26082608
"rust-analyzer.typing.excludeChars": {
26092609
"markdownDescription": "Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`.",
2610-
"default": "<",
2610+
"default": "|<",
26112611
"type": [
26122612
"null",
26132613
"string"

0 commit comments

Comments
 (0)