RRethy/nvim-treesitter-endwise

Support ruby `class << self`

catlee opened this issue · 2 comments

When I type class << self in ruby, I would like endwise to add the closing end statement like it does for regular class definitions.

Not sure what happened here, I remember adding singleton_class queries a while back for this but I don't see them anywhere in the git history 😕

awesome, thanks!

I wasn't sure if this was going to be possible since the treesitter playground was just showing me a single self node for class << self