mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
feat(python): add combined group for @string.regexp
This commit is contained in:
parent
ddcf1ae900
commit
99038c83d1
1 changed files with 11 additions and 4 deletions
|
|
@ -416,10 +416,17 @@
|
|||
(call
|
||||
function: (attribute
|
||||
object: (identifier) @_re)
|
||||
arguments: (argument_list
|
||||
.
|
||||
(string
|
||||
(string_content) @string.regexp))
|
||||
arguments: [
|
||||
(argument_list
|
||||
.
|
||||
(string
|
||||
(string_content) @string.regexp))
|
||||
(argument_list
|
||||
.
|
||||
(concatenated_string
|
||||
(string
|
||||
(string_content) @string.regexp)))
|
||||
]
|
||||
(#eq? @_re "re"))
|
||||
|
||||
; Decorators
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue