crates/languages/src/bash/highlights.scm 🔗
@@ -3,6 +3,7 @@
(raw_string)
(heredoc_body)
(heredoc_start)
+ (heredoc_end)
(ansi_c_string)
(word)
] @string
@@ -54,6 +55,7 @@
"$"
"&&"
">"
+ "<<"
">>"
">&"
">&-"
chbk created
Release Notes:
- Improved Bash heredoc highlighting
| Zed 0.180.2 | With this PR |
| --- | --- |
|

|

|
```bash
cat << EOT >> hello.txt
hello world
EOT
```
- `<<`: `operator`
- `EOT`: `string`
crates/languages/src/bash/highlights.scm | 2 ++
1 file changed, 2 insertions(+)
@@ -3,6 +3,7 @@
(raw_string)
(heredoc_body)
(heredoc_start)
+ (heredoc_end)
(ansi_c_string)
(word)
] @string
@@ -54,6 +55,7 @@
"$"
"&&"
">"
+ "<<"
">>"
">&"
">&-"