Skip to content

Commit

Permalink
Add TS query for heredoc redirection in Bash
Browse files Browse the repository at this point in the history
  • Loading branch information
hinell committed Oct 12, 2023
1 parent 6dbe108 commit af560fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions after/queries/bash/matchup.scm
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,11 @@
"case" @open.case
(case_item) @mid.case.1
"esac" @close.case) @scope.case

(heredoc_redirect
"<<" (heredoc_start) @open.rhrd
(heredoc_end ) @close.rhrd) @scope.rhrd

(heredoc_redirect
"<<-" (heredoc_start) @open.rhrd
(heredoc_end ) @close.rhrd) @scope.rhrd

0 comments on commit af560fc

Please sign in to comment.