ZIm/crates/languages/src
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
..
bash Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00
c Use standard injection.language and injection.content captures (#22268) 2025-01-07 18:17:49 +00:00
cpp Use standard injection.language and injection.content captures (#22268) 2025-01-07 18:17:49 +00:00
css Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00
diff Improve diff syntax highlighting queries (#21740) 2024-12-12 15:18:36 -08:00
go Use standard injection.language and injection.content captures (#22268) 2025-01-07 18:17:49 +00:00
gomod File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
gowork File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
javascript Use standard injection.language and injection.content captures (#22268) 2025-01-07 18:17:49 +00:00
jsdoc Add language icons to the language selector (#21298) 2024-12-02 15:01:09 -03:00
json Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00
jsonc Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00
markdown Use standard injection.language and injection.content captures (#22268) 2025-01-07 18:17:49 +00:00
markdown-inline Hide Markdown-Inline language from users with a new 'hidden' flag on language configs (#17104) 2024-08-29 11:23:33 -07:00
python python: Fix decorated test detection (#22327) 2024-12-21 13:11:52 +00:00
regex Add language icons to the language selector (#21298) 2024-12-02 15:01:09 -03:00
rust Fix rust runnable is not detected if comment is after #[test] attribute (#22823) 2025-01-08 12:51:23 +00:00
tsx Use standard injection.language and injection.content captures (#22268) 2025-01-07 18:17:49 +00:00
typescript Use standard injection.language and injection.content captures (#22268) 2025-01-07 18:17:49 +00:00
yaml Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00
bash.rs tasks: Expose captured variables to ContextProvider (#12134) 2024-05-22 19:45:43 +02:00
c.rs Enable clangd's dot-to-arrow feature (#21142) 2024-11-28 10:43:25 +02:00
css.rs Fix lang servers status set to Downloading when checking version (#22292) 2024-12-20 16:59:10 +00:00
go.rs go: Adjust gopls path based on OS (#22727) 2025-01-06 22:04:10 +00:00
json.rs Rename the OpenFile action to OpenSelectedFilename to better reflect its function (#22494) 2025-01-07 04:18:04 +00:00
lib.rs Add language icons to the language selector (#21298) 2024-12-02 15:01:09 -03:00
python.rs python: Detect pixi environments automatically (#22635) 2025-01-08 11:06:33 +00:00
rust.rs Return back Rust completion details (#22648) 2025-01-04 11:15:09 +00:00
tailwind.rs Fix lang servers status set to Downloading when checking version (#22292) 2024-12-20 16:59:10 +00:00
typescript.rs chore: Remove stray println (#22297) 2024-12-20 18:18:44 +00:00
vtsls.rs pylsp: Prefer version from user venv (#21069) 2024-11-25 00:54:47 +01:00
yaml.rs Fix lang servers status set to Downloading when checking version (#22292) 2024-12-20 16:59:10 +00:00