mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 14:14:03 +02:00
fix(ruby): support singleton class as context
This commit is contained in:
parent
7068ad6d16
commit
29d89e50a4
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
(body_statement) @context.end
|
||||
) @context
|
||||
|
||||
(singleton_class
|
||||
(body_statement) @context.end
|
||||
) @context
|
||||
|
||||
(module
|
||||
(body_statement) @context.end
|
||||
) @context
|
||||
|
|
Loading…
Reference in a new issue