aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting.rs')
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs
index 979a3f7a0..7e41db530 100644
--- a/crates/ra_ide/src/syntax_highlighting.rs
+++ b/crates/ra_ide/src/syntax_highlighting.rs
@@ -320,7 +320,7 @@ fn highlight_injection(
320 let call_info = call_info_for_token(&sema, expanded)?; 320 let call_info = call_info_for_token(&sema, expanded)?;
321 let idx = call_info.active_parameter?; 321 let idx = call_info.active_parameter?;
322 let name = call_info.signature.parameter_names.get(idx)?; 322 let name = call_info.signature.parameter_names.get(idx)?;
323 if name != "ra_fixture" { 323 if !name.starts_with("ra_fixture") {
324 return None; 324 return None;
325 } 325 }
326 let value = literal.value()?; 326 let value = literal.value()?;