Skip to content

Commit e7c8b2f

Browse files
authored
Merge pull request #18616 from Veykril/push-pkumxswtxspo
fix: Disable `<` typing handler again
2 parents f499faf + d71e41d commit e7c8b2f

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 `(`. Setting this to a string will disable typing assists for the specified characters.
312-
typing_excludeChars: Option<String> = None,
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: `null`)::
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 `(`. Setting this to a string will disable typing assists for the specified characters.

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 `(`. Setting this to a string will disable typing assists for the specified characters.",
2610-
"default": null,
2610+
"default": "<",
26112611
"type": [
26122612
"null",
26132613
"string"

0 commit comments

Comments
 (0)