mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -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
|
(call
|
||||||
function: (attribute
|
function: (attribute
|
||||||
object: (identifier) @_re)
|
object: (identifier) @_re)
|
||||||
arguments: (argument_list
|
arguments: [
|
||||||
.
|
(argument_list
|
||||||
(string
|
.
|
||||||
(string_content) @string.regexp))
|
(string
|
||||||
|
(string_content) @string.regexp))
|
||||||
|
(argument_list
|
||||||
|
.
|
||||||
|
(concatenated_string
|
||||||
|
(string
|
||||||
|
(string_content) @string.regexp)))
|
||||||
|
]
|
||||||
(#eq? @_re "re"))
|
(#eq? @_re "re"))
|
||||||
|
|
||||||
; Decorators
|
; Decorators
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue