ZIm/crates/languages/src
Kirill Bulatov 868e3f75b2
Rework shared commit editors (#24274)
Rework of https://github.com/zed-industries/zed/pull/24130
Uses
1033c0b57e
`COMMIT_EDITMSG` language-related definitions (thanks @d1y )

Instead of using real `.git/COMMIT_EDITMSG` file, create a buffer
without FS representation, stored in the `Repository` and shared the
regular way via the `BufferStore`.
Adds a knowledge of what `Git Commit` language is, and uses it in the
buffers which are rendered in the git panel.


Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad@zed.dev>
Co-authored-by: d1y <chenhonzhou@gmail.com>
Co-authored-by: Smit <smit@zed.dev>
2025-02-05 15:36:24 +00:00
..
bash Allow auto-indenting with syntax errors when using regex-based indent matches to improve bash auto-indent behavior (#24160) 2025-02-03 21:34:37 -06: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
gitcommit Rework shared commit editors (#24274) 2025-02-05 15:36:24 +00:00
go Add support for Go fuzz tests (#24107) 2025-02-03 11:33:58 +01: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 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 Refine syntax highlighting for Python docstrings (#20898) 2025-01-28 10:23:43 +01: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 Improve TypeScript highlights (#18525) 2025-01-10 22:00:28 +00:00
yaml Add textobjects queries (#20924) 2024-12-03 10:37:01 -07:00
bash.rs Allow auto-indenting with syntax errors when using regex-based indent matches to improve bash auto-indent behavior (#24160) 2025-02-03 21:34:37 -06:00
c.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
css.rs Enable CSS, JSON, Python, and Tailwind to lookup LSP installed in PATH (#22037) 2025-02-04 14:50:49 -05:00
go.rs Add support for Go fuzz tests (#24107) 2025-02-03 11:33:58 +01:00
json.rs Enable CSS, JSON, Python, and Tailwind to lookup LSP installed in PATH (#22037) 2025-02-04 14:50:49 -05:00
lib.rs Rework shared commit editors (#24274) 2025-02-05 15:36:24 +00:00
python.rs Enable CSS, JSON, Python, and Tailwind to lookup LSP installed in PATH (#22037) 2025-02-04 14:50:49 -05:00
rust.rs windows: Fix tests on Windows (#22616) 2025-02-05 14:30:09 +00:00
tailwind.rs Enable CSS, JSON, Python, and Tailwind to lookup LSP installed in PATH (#22037) 2025-02-04 14:50:49 -05:00
typescript.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
vtsls.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
yaml.rs Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00