ZIm/crates/languages/src/rust
Remco Smits 68e670bf54
Fix rust runnable is not detected if comment is after #[test] attribute (#22823)
Closes #22798

This fixes that we didn't detect the Rust runnable when there was a
comment after the `#[test]` attribute.

![Screenshot 2025-01-08 at 13 22
59](https://github.com/user-attachments/assets/bd6a7ae0-93d4-4f93-9d0d-11453acb2032)


Release Notes:

- Fixed Rust runnable not detected when comment is after `#[test]`
attribute.

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
2025-01-08 12:51:23 +00:00
..
brackets.scm Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
config.toml Fix quotes in Rust (#19914) 2024-10-29 12:35:34 -06:00
embedding.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
highlights.scm Improve syntax highlights (#18728) 2024-10-09 19:25:46 +02:00
indents.scm chore: Extract languages from zed crate (#8270) 2024-02-23 15:56:08 +01:00
injections.scm Use standard injection.language and injection.content captures (#22268) 2025-01-07 18:17:49 +00:00
outline.scm Revert accidental change to Rust outline files (#21545) 2024-12-04 11:58:56 -07:00
overrides.scm Add inclusive range scope overrides. Don't auto-close quotes at the ends of line comments (#20206) 2024-11-04 15:36:39 -08:00
runnables.scm Fix rust runnable is not detected if comment is after #[test] attribute (#22823) 2025-01-08 12:51:23 +00:00
textobjects.scm Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00