ZIm/crates/languages/src
Bennet Bo Fenner 7a6b6435c4
languages: Enable grammar loading when compiling with test feature (#19881)
This ensures that `cargo tests -p languages` will not fail with a
confusing error message.

Follow up to #19821

We opted to check the `test` feature flag instead of defining a runtime
flag, because we only want to include the `tree-sitter-*` dependencies
in some cases, which is not possible with a runtime flag.

Co-Authored-by: Thorsten <thorsten@zed.dev>

Release Notes:

- N/A

Co-authored-by: Thorsten <thorsten@zed.dev>
2024-10-29 11:00:44 +01:00
..
bash Improve auto-detection via shebang of TypeScript, JavaScript and Shell Script (#19114) 2024-10-13 02:35:46 -04:00
c languages: Do not expose unnecessary captures from tasks (#19625) 2024-10-23 18:54:08 +02:00
cpp Add support for Doxygen doc comments in C++ (#19858) 2024-10-28 17:44:23 -04:00
css Treat .postcss files as CSS (#19416) 2024-10-18 11:11:29 -04:00
diff Add Diff language (#19129) 2024-10-15 16:02:12 -04:00
go Improve syntax highlights (#18728) 2024-10-09 19:25:46 +02: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 languages: Do not expose unnecessary captures from tasks (#19625) 2024-10-23 18:54:08 +02:00
jsdoc Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
json Add escape string highlights to JSON and JSONC files (#18138) 2024-09-20 12:20:14 -04:00
jsonc Add escape string highlights to JSON and JSONC files (#18138) 2024-09-20 12:20:14 -04:00
markdown Detect 'MD' extension as Markdown (#18135) 2024-09-20 09:23:11 -04: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: Enhance syntax highlighting for type hints (#18185) 2024-10-28 16:56:59 -04:00
regex Improve syntax highlights (#18728) 2024-10-09 19:25:46 +02:00
rust Quote fixes (#19765) 2024-10-25 16:28:08 -06:00
tsx Automatically indent JSX (#18816) 2024-10-10 15:15:12 +03:00
typescript languages: Do not expose unnecessary captures from tasks (#19625) 2024-10-23 18:54:08 +02:00
yaml yaml: Add single quotes to list of brackets (#16859) 2024-08-26 18:02:40 +02:00
bash.rs tasks: Expose captured variables to ContextProvider (#12134) 2024-05-22 19:45:43 +02:00
c.rs lsp: Remove reinstall, update config (#18318) 2024-09-25 10:45:56 -07:00
css.rs lsp: Remove reinstall, update config (#18318) 2024-09-25 10:45:56 -07:00
go.rs lsp: Remove reinstall, update config (#18318) 2024-09-25 10:45:56 -07:00
json.rs Add language toolchains (#19576) 2024-10-28 15:34:03 +01:00
lib.rs languages: Enable grammar loading when compiling with test feature (#19881) 2024-10-29 11:00:44 +01:00
python.rs Add language toolchains (#19576) 2024-10-28 15:34:03 +01:00
rust.rs Support .editorconfig (#19455) 2024-10-21 13:05:30 +03:00
tailwind.rs Add language toolchains (#19576) 2024-10-28 15:34:03 +01:00
typescript.rs Add language toolchains (#19576) 2024-10-28 15:34:03 +01:00
vtsls.rs Add language toolchains (#19576) 2024-10-28 15:34:03 +01:00
yaml.rs Add language toolchains (#19576) 2024-10-28 15:34:03 +01:00