This commit is contained in:
Sophie 2024-11-20 18:02:09 -06:00 committed by GitHub
commit bfff464881
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -111,6 +111,9 @@
(integer) @constant.numeric.integer (integer) @constant.numeric.integer
(float) @constant.numeric.float (float) @constant.numeric.float
(expression_statement (string) @content
(#match? @content "^\"\"\"")
) @comment.block.documentation
(comment) @comment (comment) @comment
(string) @string (string) @string
(escape_sequence) @constant.character.escape (escape_sequence) @constant.character.escape

View File

@ -30,6 +30,8 @@
(string_literal) (string_literal)
(raw_string_literal) (raw_string_literal)
] @string ] @string
(line_comment (doc_comment)) @comment.documentation
(block_comment (doc_comment)) @comment.block.documentation
[ [
(line_comment) (line_comment)
(block_comment) (block_comment)