mirror of
https://github.com/helix-editor/helix
synced 2026-03-27 15:31:58 +01:00
* feat: adding embedded-perl language * Update runtime/queries/embedded-perl/highlights.scm Co-authored-by: may <63159454+m4rch3n1ng@users.noreply.github.com> * correcting lang-support * removing some invalid queries * update lang-support again * update tree sitter source rev --------- Co-authored-by: may <63159454+m4rch3n1ng@users.noreply.github.com>
23 lines
621 B
Scheme
23 lines
621 B
Scheme
; Comments
|
|
([
|
|
(comment_tag)
|
|
(line_comment)
|
|
] @comment)
|
|
|
|
; Tag and line directive delimiters
|
|
(code_tag "<%" @keyword.directive)
|
|
(expression_tag "<%=" @keyword.directive)
|
|
(raw_expression_tag "<%==" @keyword.directive)
|
|
(comment_tag "<%#" @keyword.directive)
|
|
|
|
(line_code "%" @keyword.directive)
|
|
(line_expression "%=" @keyword.directive)
|
|
(line_raw_expression "%==" @keyword.directive)
|
|
(line_comment "%#" @keyword.directive)
|
|
(line_escaped_percent "%%" @constant.character.escape)
|
|
|
|
(escaped_open_tag) @constant.character.escape
|
|
|
|
(tag_close "%>" @keyword.directive)
|
|
(tag_close "=" @keyword.directive "%>" @keyword.directive)
|