mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
fix(lua): injection eq should be any-of (#4711)
This commit is contained in:
parent
82bcd8483e
commit
b0fe9cea0e
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@
|
||||||
(function_call
|
(function_call
|
||||||
(dot_index_expression
|
(dot_index_expression
|
||||||
field: (identifier) @_method
|
field: (identifier) @_method
|
||||||
(#eq? @_method "gmatch" "gsub"))
|
(#any-of? @_method "gmatch" "gsub"))
|
||||||
arguments: (arguments (_) (string content: _ @luap)))
|
arguments: (arguments (_) (string content: _ @luap)))
|
||||||
|
|
||||||
; ("123"):match("%d+")
|
; ("123"):match("%d+")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue