Skip to content

Commit f021ec3

Browse files
committed
Disable pipe on typing handler
1 parent 1c3043b commit f021ec3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ config_data! {
309309
signatureInfo_documentation_enable: bool = true,
310310

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

314314

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

docs/user/generated_config.adoc

Lines changed: 1 addition & 1 deletion
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 `(`.

editors/code/package.json

Lines changed: 1 addition & 1 deletion
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)