ZIm/crates/language/src
Piotr Osiewicz 5e55d5507f
language: Do not fetch diagnostics when iterating over text without language awareness (#16824)
This PR fixes a regression from
https://github.com/zed-industries/zed/pull/15646 where we've started
fetching diagnostic spans unconditionally (whereas previously that
wasn't done when iterating over raw text).

Closes #16764

Release Notes:

- Fixed performance regression in handling buffers with large quantities
of diagnostics.
2024-08-25 18:02:54 +02:00
..
syntax_map Allow file paths ending in a language-specific-extension to be used as the language name for injections (#12368) 2024-08-22 19:02:49 -06:00
buffer.rs language: Do not fetch diagnostics when iterating over text without language awareness (#16824) 2024-08-25 18:02:54 +02:00
buffer_tests.rs Replace lazy_static with std::sync::LazyLock (#16066) 2024-08-20 14:27:33 -04:00
diagnostic_set.rs lsp: Pass back diagnostic .data when querying code actions for it (#14962) 2024-07-22 17:49:11 +02:00
highlight_map.rs Docs for indent_size_for_line and co 2024-01-09 20:50:34 +01:00
language.rs language: Do not fetch diagnostics when iterating over text without language awareness (#16824) 2024-08-25 18:02:54 +02:00
language_registry.rs Remove primary/secondary distinction for CachedLspAdapter (#15634) 2024-08-01 13:51:34 -04:00
language_settings.rs Add bounded soft wrap (#16586) 2024-08-22 12:51:32 -06:00
markdown.rs Fix Markdown code rendering in tooltips ignoring languages (#10607) 2024-04-16 12:49:35 +02:00
outline.rs assistant: Add imports in a single area when using workflows (#16355) 2024-08-19 19:01:45 +02:00
proto.rs lsp: Pass back diagnostic .data when querying code actions for it (#14962) 2024-07-22 17:49:11 +02:00
syntax_map.rs Allow file paths ending in a language-specific-extension to be used as the language name for injections (#12368) 2024-08-22 19:02:49 -06:00
task_context.rs tasks: Add experimental support for user-defined task variables (#13699) 2024-07-01 15:59:19 +02:00