diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/package.json | 8 | ||||
-rw-r--r-- | editors/code/rust.tmGrammar.json | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index a2d6b1148..c3f1a0d8d 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -460,6 +460,11 @@ | |||
460 | "default": true, | 460 | "default": true, |
461 | "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc." | 461 | "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc." |
462 | }, | 462 | }, |
463 | "rust-analyzer.completion.enableExperimental": { | ||
464 | "type": "boolean", | ||
465 | "default": true, | ||
466 | "markdownDescription": "Display additional completions with potential false positives and performance issues" | ||
467 | }, | ||
463 | "rust-analyzer.callInfo.full": { | 468 | "rust-analyzer.callInfo.full": { |
464 | "type": "boolean", | 469 | "type": "boolean", |
465 | "default": true, | 470 | "default": true, |
@@ -952,9 +957,6 @@ | |||
952 | { | 957 | { |
953 | "language": "rust", | 958 | "language": "rust", |
954 | "scopes": { | 959 | "scopes": { |
955 | "macro": [ | ||
956 | "entity.name.function.macro.rust" | ||
957 | ], | ||
958 | "attribute": [ | 960 | "attribute": [ |
959 | "meta.attribute.rust" | 961 | "meta.attribute.rust" |
960 | ], | 962 | ], |
diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index cd4775d27..4759bb116 100644 --- a/editors/code/rust.tmGrammar.json +++ b/editors/code/rust.tmGrammar.json | |||
@@ -409,7 +409,7 @@ | |||
409 | { | 409 | { |
410 | "comment": "booleans", | 410 | "comment": "booleans", |
411 | "name": "constant.language.bool.rust", | 411 | "name": "constant.language.bool.rust", |
412 | "match": "\\btrue|false\\b" | 412 | "match": "\\b(true|false)\\b" |
413 | } | 413 | } |
414 | ] | 414 | ] |
415 | }, | 415 | }, |