mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
(dot_index_expression
|
||||
field: (identifier) @_method
|
||||
(#eq? @_method "gmatch" "gsub"))
|
||||
(#any-of? @_method "gmatch" "gsub"))
|
||||
arguments: (arguments (_) (string content: _ @luap)))
|
||||
|
||||
; ("123"):match("%d+")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue