diff options
| author | Yorick Peterse <yorick@yorickpeterse.com> | 2021-08-05 16:17:18 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-08-09 08:38:02 +0200 |
| commit | 3fd4d9fb3fc7ea86057e952f6db8f8641c615eb5 (patch) | |
| tree | f162f68759d61219b00a7256abdddf5cb96e83ee /lua | |
| parent | Update lockfile.json (#1679) (diff) | |
| download | nvim-treesitter-3fd4d9fb3fc7ea86057e952f6db8f8641c615eb5.tar nvim-treesitter-3fd4d9fb3fc7ea86057e952f6db8f8641c615eb5.tar.gz nvim-treesitter-3fd4d9fb3fc7ea86057e952f6db8f8641c615eb5.tar.bz2 nvim-treesitter-3fd4d9fb3fc7ea86057e952f6db8f8641c615eb5.tar.lz nvim-treesitter-3fd4d9fb3fc7ea86057e952f6db8f8641c615eb5.tar.xz nvim-treesitter-3fd4d9fb3fc7ea86057e952f6db8f8641c615eb5.tar.zst nvim-treesitter-3fd4d9fb3fc7ea86057e952f6db8f8641c615eb5.zip | |
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
Diffstat (limited to 'lua')
0 files changed, 0 insertions, 0 deletions
