; Bash highlights, from tree-sitter/tree-sitter-bash v0.25.1 ; queries/highlights.scm (MIT). Reordered so expansions stay visible inside the ; strings that contain them, and capture names mapped onto zed syntax keys. ; Upstream's @embedded captures are dropped: zed paints `embedded` as plain ; foreground, so they only cost query time. ["$" "&&" "||" ">" ">>" "<" "|" ";" "=" "!"] @operator ["case" "do" "done" "elif" "else" "esac" "export" "fi" "for" "function" "if" "in" "local" "readonly" "select" "then" "unset" "until" "while"] @keyword [(string) (raw_string) (heredoc_body) (heredoc_start)] @string (variable_name) @property (file_descriptor) @number (command_name) @function (function_definition name: (word) @function) ((command (_) @constant) (#match? @constant "^-")) (comment) @comment