zed/extensions
Sylvain Brunerie 898d48a574
php: Add syntax highlighting inside heredoc strings (#18368)
PHP heredoc strings make it easy to define string literals over multiple
lines:

```php
    $someString = <<<EOT
        multiline
        text
        EOT;
```

That `EOT` identifier can be anything else, and it is actually being
used in Sublime Text and VS Code to inject syntax highlighting for
another language in said string, depending on the identifier. For
instance, if the identifier is SQL, SQL syntax highlighting will be
applied to the contents of the string. Likewise if the identifier is CSS
or JS.

```php
    $someString = <<<SQL
        SELECT *
        FROM my_table
        SQL;
```

This PR changes the PHP extension so that it supports that feature too.

Release Notes:

- php: Added syntax highlighting inside heredoc strings
2024-09-30 10:02:12 +03:00
..
astro Use @tag.doctype for HTML doctype highlights (#18024) 2024-09-18 14:24:09 -04:00
clojure chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
csharp chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
dart dart: Bump to v0.1.0 (#17887) 2024-09-16 11:57:34 -04:00
deno chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
elixir Use @tag.doctype for HTML doctype highlights (#18024) 2024-09-18 14:24:09 -04:00
elm chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
emmet extensions: Upgrade zed_extension_api to v0.1.0 (#16955) 2024-08-27 12:00:43 -04:00
erlang erlang: Bump to v0.1.0 (#17679) 2024-09-10 23:21:24 -04:00
gleam chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
glsl chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
haskell extensions: Upgrade zed_extension_api to v0.1.0 (#16955) 2024-08-27 12:00:43 -04:00
html Use @tag.doctype for HTML doctype highlights (#18024) 2024-09-18 14:24:09 -04:00
lua lua: Bump to v0.1.0 (#18246) 2024-09-23 19:53:28 -04:00
ocaml ocaml: Bump to v0.1.0 (#17945) 2024-09-17 12:13:06 -04:00
perplexity perplexity: Remove duplicate step and fix numbering in README (#17978) 2024-09-17 18:31:06 -04:00
php php: Add syntax highlighting inside heredoc strings (#18368) 2024-09-30 10:02:12 +03:00
prisma extensions: Upgrade zed_extension_api to v0.1.0 (#16955) 2024-08-27 12:00:43 -04:00
purescript extensions: Upgrade zed_extension_api to v0.1.0 (#16955) 2024-08-27 12:00:43 -04:00
racket
ruby chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
ruff ruff: Bump to v0.1.0 (#17960) 2024-09-17 14:21:06 -04:00
scheme
slash-commands-example slash-commands-example: Fix numbering in README (#17452) 2024-09-05 15:39:09 -04:00
snippets chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
svelte svelte: Bump to v0.2.0 (#17962) 2024-09-17 15:33:28 -04:00
terraform terraform: Bump to v0.1.1 (#18382) 2024-09-26 08:36:58 -04:00
test-extension zed_extension_api: Fork new version of extension API (#17795) 2024-09-13 10:54:23 -04:00
toml toml: Add highlight for escape sequences (#18346) 2024-09-25 13:29:02 -04:00
uiua extensions: Upgrade zed_extension_api to v0.1.0 (#16955) 2024-08-27 12:00:43 -04:00
vue extensions: Upgrade zed_extension_api to v0.1.0 (#16955) 2024-08-27 12:00:43 -04:00
zig zig: Fix highlighting of keywords like orelse, or, and (#18323) 2024-09-25 10:03:10 +02:00
.gitignore