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:
parent
57669b4908
commit
0708d476ca
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
(raw_string)
|
(raw_string)
|
||||||
(heredoc_body)
|
(heredoc_body)
|
||||||
(heredoc_start)
|
(heredoc_start)
|
||||||
|
(heredoc_end)
|
||||||
(ansi_c_string)
|
(ansi_c_string)
|
||||||
(word)
|
(word)
|
||||||
] @string
|
] @string
|
||||||
|
@ -54,6 +55,7 @@
|
||||||
"$"
|
"$"
|
||||||
"&&"
|
"&&"
|
||||||
">"
|
">"
|
||||||
|
"<<"
|
||||||
">>"
|
">>"
|
||||||
">&"
|
">&"
|
||||||
">&-"
|
">&-"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue