diff options
author | Aleksey Kladov <[email protected]> | 2020-03-03 16:03:46 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-03-03 16:03:46 +0000 |
commit | cf0ececb7aa93d5538a7688d825201327335132e (patch) | |
tree | 605a9e4e9b3f9bde6f3b8229f7a01c4fb7735748 /crates/ra_ide/src | |
parent | 1cca6b2a3d4e1981577616d854bca498f4891289 (diff) |
Highlight assist tests
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting.rs | 2 |
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()?; |