zed/crates/language/src
Piotr Osiewicz 33a67ad6b9
chore: Clippy fixes for 1.80 (#13987)
The biggest hurdle turned out to be use of `Arc<Language>` in maps, as
`clippy::mutable_key_type` started triggering on it (due to - I suppose
- internal mutability on `HighlightMap`?). I switched over to using
`LanguageId` as the key type in some of the callsites, as that's what
`Language` uses anyways for it's hash/eq, though I've still had to
suppress the lint outside of language crate.

/cc @maxdeviant , le clippy guru.

Release Notes:

- N/A
2024-07-10 17:53:17 +02:00
..
syntax_map Add a setting for custom associations between languages and files (#9290) 2024-03-13 10:23:30 -07:00
buffer.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
buffer_tests.rs Introduce multi-cursor inline transformations (#13368) 2024-06-21 17:41:43 +02:00
diagnostic_set.rs Send along diagnostics when requesting code actions (#10281) 2024-04-08 17:54:06 +02:00
highlight_map.rs Docs for indent_size_for_line and co 2024-01-09 20:50:34 +01:00
language.rs Add support for auto surround (#13217) 2024-06-20 12:48:46 +03:00
language_registry.rs Add separate JSONC language (#12655) 2024-06-27 11:12:02 +02:00
language_settings.rs tasks: Add experimental support for user-defined task variables (#13699) 2024-07-01 15:59:19 +02:00
markdown.rs Fix Markdown code rendering in tooltips ignoring languages (#10607) 2024-04-16 12:49:35 +02:00
outline.rs Add a way to filter items in the outline panel (#13984) 2024-07-09 16:44:24 +03:00
proto.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
syntax_map.rs chore: Clippy fixes for 1.80 (#13987) 2024-07-10 17:53:17 +02:00
task_context.rs tasks: Add experimental support for user-defined task variables (#13699) 2024-07-01 15:59:19 +02:00