zed/crates
Robin Malfait 7a600411cf
Add injections for tagged template literals ()
This PR adds syntax highlighting support for `css`, `html`, `js`,
`json`, `sql`, `ts`, `yaml` and `yml` in `javascript`, `typescript` and
`tsx` languages where the contents of tagged template literals are now
highlighted.

This does not actually enable language features (like LSP support), it
only does syntax highlighting.

Before this change:
<img width="561" alt="image"
src="https://github.com/user-attachments/assets/74bace1b-5ce1-4b17-8a97-035bba152d9c">


After this change:
<img width="607" alt="image"
src="https://github.com/user-attachments/assets/f227145b-3f4a-4c27-b14f-7143bb19b4cf">

/cc @mrnugget 

Release Notes:

- Added syntax highlighting for tagged template literals in
`javascript`, `typescript` and `tsx` languages for `css`, `html`, `js`,
`json`, `sql`, `ts`, `yaml` and `yml`.
([](https://github.com/zed-industries/zed/issues/15984))
2024-08-09 09:16:48 +02:00
..
activity_indicator
anthropic collab: Always use newest anthropic model version () 2024-08-08 15:24:08 +02:00
assets Allow prompt templates to be overridden in the zed configuration directory () 2024-08-06 19:30:48 -06:00
assistant assistant: Show an error when /fetch returns no content () 2024-08-08 17:07:42 -04:00
assistant_slash_command assistant: Normalize line endings for prompts loaded from the prompt library () 2024-08-02 18:13:17 -04:00
audio
auto_update Add is_staff and destination to download events () 2024-07-29 14:21:29 -04:00
breadcrumbs
call chore: Fix clippy violations from Cargo.toml () 2024-07-25 20:22:01 +02:00
channel
cli Change PathLikeWithPosition<P> into a non-generic type and replace ad-hoc Windows path parsing () 2024-07-30 16:39:33 +03:00
client Show current plan in user menu () 2024-07-30 17:38:16 -04:00
clock
collab Fix llm queries () 2024-08-08 17:21:38 -07:00
collab_ui Feature/fallback fonts () 2024-07-26 16:42:21 -07:00
collections
command_palette vim: Support ranges in command () 2024-08-08 21:47:27 +01:00
command_palette_hooks
copilot copilot: Colocate copilot_chat_config_path with the rest of the Copilot code () 2024-08-02 15:46:06 -04:00
db
dev_server_projects
diagnostics assistant: Polish /workflow and steps UI () 2024-08-08 15:46:33 +02:00
editor vim: Support ranges in command () 2024-08-08 21:47:27 +01:00
extension extension: Make worktree argument to run_slash_command optional () 2024-08-01 17:34:44 -04:00
extension_api extension: Make worktree argument to run_slash_command optional () 2024-08-01 17:34:44 -04:00
extension_cli Provide user agent when performing HTTP requests () 2024-07-30 11:12:37 +02:00
extensions_ui Feature/fallback fonts () 2024-07-26 16:42:21 -07:00
feature_flags Clean up inline assist editor rendering () 2024-07-31 17:43:08 +02:00
feedback
file_finder Change PathLikeWithPosition<P> into a non-generic type and replace ad-hoc Windows path parsing () 2024-07-30 16:39:33 +03:00
file_icons chore: Clean up allocs around project panel () 2024-07-29 14:21:41 +02:00
fs zed: Mark restored buffers as conflicted if file changed on disk between store & restore () 2024-07-25 18:04:47 +02:00
fsevent
fuzzy chore: Bump Rust version to 1.80 () 2024-07-25 22:48:42 +02:00
git
git_hosting_providers
go_to_line
google_ai Authorize access to language model providers based on country () 2024-08-06 11:49:04 -04:00
gpui Adjust erf estimation function () 2024-08-07 14:12:26 +02:00
gpui_macros Use US English spelling of "behavior" and "customize" () 2024-07-24 16:36:01 -04:00
headless
html_to_markdown
http_client Introduce a separate backend service for LLM calls () 2024-08-05 20:26:21 -04:00
image_viewer
indexed_docs
inline_completion_button inline_completion_button: Do some cleanup () 2024-08-06 08:55:27 -04:00
install_cli
journal
language Open workflow step editors as preview tabs () 2024-08-07 19:33:58 -06:00
language_model Add design tweaks to the AI configuration panel () 2024-08-08 12:12:36 +02:00
language_selector
language_tools Add GitHub Copilot Chat Support () 2024-07-30 09:32:58 +02:00
languages Add injections for tagged template literals () 2024-08-09 09:16:48 +02:00
live_kit_client chore: Fix clippy violations from Cargo.toml () 2024-07-25 20:22:01 +02:00
live_kit_server live_kit_server: Re-remove protocol submodule () 2024-07-26 21:10:56 -04:00
lsp chore: Bump Rust version to 1.80 () 2024-07-25 22:48:42 +02:00
markdown Selectable diagnostic popover text () 2024-07-28 23:13:13 -06:00
markdown_preview markdown preview: Detect language of buffer correctly () 2024-08-08 11:53:37 +02:00
media
menu
multi_buffer Open workflow step editors as preview tabs () 2024-08-07 19:33:58 -06:00
node_runtime windows: Fix eslint installation () 2024-07-27 10:24:05 -04:00
notifications
ollama assistant: Use tools in other providers () 2024-08-06 15:45:47 +02:00
open_ai Authorize access to language model providers based on country () 2024-08-06 11:49:04 -04:00
outline
outline_panel Use US English spelling of "behavior" and "customize" () 2024-07-24 16:36:01 -04:00
paths Allow prompt templates to be overridden in the zed configuration directory () 2024-08-06 19:30:48 -06:00
picker vim remap 2 () 2024-07-25 09:00:53 -06:00
prettier
project lsp: Support Goto Declaration () 2024-08-06 11:20:51 +02:00
project_panel Fix symlink icon in the project panel () 2024-07-31 18:58:07 -03:00
project_symbols
proto lsp: Support Goto Declaration () 2024-08-06 11:20:51 +02:00
quick_action_bar repl: Add ctrl-alt-enter binding to run in place () 2024-08-03 10:27:05 -07:00
recent_projects recent_project: Fix overflow sub () 2024-08-08 15:58:59 +02:00
refineable
release_channel
remote SSH remoting: terminal & tasks () 2024-07-28 22:45:00 -06:00
remote_server Run clippy for Windows () 2024-07-26 21:38:34 -04:00
repl assistant: Polish /workflow and steps UI () 2024-08-08 15:46:33 +02:00
rich_text chore: Bump Rust version to 1.80 () 2024-07-25 22:48:42 +02:00
rope Skip over folded regions when iterating over multibuffer chunks () 2024-08-02 19:51:26 +02:00
rpc Apply rate limits in LLM service () 2024-08-08 15:46:33 -07:00
search Add tooltip for toggling filters () 2024-08-06 15:51:53 -04:00
semantic_index Allow customization of the model used for tool calling () 2024-07-30 16:18:53 +02:00
semantic_version
session zed: Persist window stack order across restarts () 2024-07-29 17:05:56 +02:00
settings keymap: Show error notification when keymap is invalid () 2024-08-08 14:11:46 +02:00
settings_ui ui: Apply elevation outside SettingsContainer () 2024-07-27 14:00:03 -04:00
snippet
snippet_provider
sqlez
sqlez_macros
story
storybook ui: Remove old settings components () 2024-07-27 14:12:32 -04:00
sum_tree Restore "Avoid buffering line content to compute indent guides" () 2024-07-28 10:52:39 +02:00
supermaven
supermaven_api
tab_switcher Send pane removeItem event before removing the item () 2024-07-31 08:48:19 -07:00
task SSH remoting: terminal & tasks () 2024-07-28 22:45:00 -06:00
tasks_ui tasks: Use environment variables from project () 2024-07-26 18:19:53 +02:00
telemetry_events Add repl events () 2024-07-26 03:31:41 -04:00
terminal repl: Create better terminal output for REPL stdio () 2024-08-03 05:48:16 -07:00
terminal_view assistant: Tweak tab bar layout () 2024-08-07 13:46:59 +02:00
text Restructure workflow step resolution and fix inserting newlines () 2024-08-05 09:18:06 +02:00
theme theme: Use a non-transparent color for the fallback title_bar.inactive_background () 2024-08-02 18:44:22 -04:00
theme_importer Hoist strum to workspace level () 2024-07-25 21:30:48 -04:00
theme_selector settings_ui: Add theme settings controls () 2024-07-24 16:25:52 -04:00
time_format
title_bar Show current plan in user menu () 2024-07-30 17:38:16 -04:00
ui assistant: Polish /workflow and steps UI () 2024-08-08 15:46:33 +02:00
ui_input
util Change PathLikeWithPosition<P> into a non-generic type and replace ad-hoc Windows path parsing () 2024-07-30 16:39:33 +03:00
vcs_menu
vim vim: Support ranges in command () 2024-08-08 21:47:27 +01:00
welcome
workspace assistant: Show regenerate button only on hover () 2024-08-08 13:08:57 +02:00
worktree assistant: Report all worktree entries in /file completions () 2024-08-01 16:09:53 +02:00
zed keymap: Show error notification when keymap is invalid () 2024-08-08 14:11:46 +02:00
zed_actions Show current plan in user menu () 2024-07-30 17:38:16 -04:00