nvim-treesitter/queries/ruby
Yorick Peterse 76bf941e09 Fix instance and singleton method locals for Ruby
Ruby singleton methods (`def x.y ... end`) weren't covered in the list
of locals. In addition, instance methods didn't support names that are
capitalised (`def Integer ... end`).

This commit ensures that both instance and singleton methods are
supported, and that both support identifiers and constants as their
names. This ensures that all following examples are covered:

    def foo; end
    def FOO; end
    def self.bar; end
    def self.BAR; end
2021-09-17 21:06:36 +02:00
..
folds.scm folds support and somewhat better indents for ruby 2021-03-15 19:54:30 +01:00
highlights.scm feat(keywords) merge return and yield into keyword.return group 2021-07-04 21:49:17 +02:00
indents.scm Indent Ruby singleton classes 2021-04-17 09:39:32 +02:00
injections.scm downcase! directive to use with ruby injections 2021-06-04 07:47:21 +02:00
locals.scm Fix instance and singleton method locals for Ruby 2021-09-17 21:06:36 +02:00