Improve Bash heredoc highlighting (#28185)
Release Notes: - Improved Bash heredoc highlighting | Zed 0.180.2 | With this PR | | --- | --- | |  |  | ```bash cat << EOT >> hello.txt hello world EOT ``` - `<<`: `operator` - `EOT`: `string`
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
(raw_string)
|
||||
(heredoc_body)
|
||||
(heredoc_start)
|
||||
(heredoc_end)
|
||||
(ansi_c_string)
|
||||
(word)
|
||||
] @string
|
||||
@@ -54,6 +55,7 @@
|
||||
"$"
|
||||
"&&"
|
||||
">"
|
||||
"<<"
|
||||
">>"
|
||||
">&"
|
||||
">&-"
|
||||
|
||||
Reference in New Issue
Block a user