fix(python): captures inner string contents with spell

This commit is contained in:
Colin Kennedy 2024-04-16 21:23:55 -07:00 committed by GitHub
parent 4c84b83108
commit 037c6af78f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -204,19 +204,41 @@
(comment)*
.
(expression_statement
(string) @string.documentation @spell))
(string) @string.documentation))
(class_definition
body: (block
.
(expression_statement
(string) @string.documentation @spell)))
(string) @string.documentation)))
(function_definition
body: (block
.
(expression_statement
(string) @string.documentation @spell)))
(string) @string.documentation)))
(module
.
(comment)*
.
(expression_statement
(string
(string_content) @spell)))
(class_definition
body: (block
.
(expression_statement
(string
(string_content) @spell))))
(function_definition
body: (block
.
(expression_statement
(string
(string_content) @spell))))
; Tokens
[