ZIm/crates/languages/src
chbk 7f868a2eff
Improve Rust macro highlighting (#28182)
Release Notes:

  - Improved Rust macro highlighting

| Zed 0.180.2 | With this PR |
| --- | --- |
|
![Image](https://github.com/user-attachments/assets/013c73b1-5eee-45b1-ba37-747563c1bc4b)
|
![Image](https://github.com/user-attachments/assets/57eb97e3-1ccc-4d58-9596-bb3decedc0f4)
|

```rust
macro_rules! square {
  ($e:expr) => { $e * $e };
}
```

- `$var`: `variable`
- `expr`: `type`
2025-05-05 23:50:57 +03:00
..
bash bash: Fix bracket autoclose behavior (#29817) 2025-05-05 10:02:27 -04:00
c Improve C and C++ syntax highlighting (#25325) 2025-02-21 12:01:39 -05:00
cpp Recognize ixx as part of the cpp suffix (#26333) 2025-03-10 09:10:29 -05:00
css Add completion_query_characters in language (#27175) 2025-03-20 16:45:35 +05:30
diff Improve diff syntax highlighting queries (#21740) 2024-12-12 15:18:36 -08:00
gitcommit Fix syntax highlighting of git commit messages (#26988) 2025-03-18 18:18:56 +00:00
go Improve Go syntax highlighting (#25327) 2025-02-21 11:32:14 -05:00
gomod Add "tool" support to go.mod (#22995) 2025-01-15 17:44:28 +02:00
gowork File context for assistant panel (#9712) 2024-03-29 13:55:01 -07:00
javascript Improve Regex highlighting (#28183) 2025-04-18 12:44:13 -04:00
jsdoc Add language icons to the language selector (#21298) 2024-12-02 15:01:09 -03:00
json Add completion_query_characters in language (#27175) 2025-03-20 16:45:35 +05:30
jsonc Treat bun.lock as JSONC (#27359) 2025-03-24 09:46:23 -04:00
markdown Add completion_query_characters in language (#27175) 2025-03-20 16:45:35 +05:30
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 identification of runnable tests within decorated test classes (#29688) 2025-04-30 17:26:30 +00:00
regex Improve Regex highlighting (#28183) 2025-04-18 12:44:13 -04:00
rust Improve Rust macro highlighting (#28182) 2025-05-05 23:50:57 +03:00
tsx Improve Regex highlighting (#28183) 2025-04-18 12:44:13 -04:00
typescript Improve Regex highlighting (#28183) 2025-04-18 12:44:13 -04:00
yaml vim: Update anyquotes and anybrackets to behave like mini.ai plugin (#24167) 2025-02-17 14:55:48 -07:00
bash.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
c.rs Allow to fetch cargo diagnostics separately (#29706) 2025-05-01 11:25:52 +03:00
css.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
go.rs debugger/tasks: Remove TaskType enum (#29208) 2025-04-26 01:44:56 +02:00
json.rs snippet_provider: Use proper casing of VsCode in identifiers (#29038) 2025-04-18 12:11:54 +00:00
lib.rs Revert "python: Enable subroot detection for pylsp and pyright (#27364)" (#29658) 2025-04-30 10:39:08 +00:00
python.rs Replace std::sync::Mutex with parking_lot::Mutex in languages/src/python.rs (#29889) 2025-05-04 21:12:21 +00:00
rust.rs Use rust-analyzer's flycheck as source of cargo diagnostics (#29779) 2025-05-02 10:07:51 +03:00
tailwind.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
typescript.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
vtsls.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
yaml.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00