Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextMate scope for self #487

Closed
musthbly opened this issue Apr 2, 2021 · 0 comments
Closed

TextMate scope for self #487

musthbly opened this issue Apr 2, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@musthbly
Copy link

musthbly commented Apr 2, 2021

Describe the bug
In functions defined using the colon syntax, self is given the variable.parameter scope.

To Reproduce
Steps to reproduce the behavior:

  1. Define a function using the colon syntax (e.g. function t:func() self.x = 0 end)
  2. The TextMate scope assigned to self should be variable.parameter

Expected behavior
self should be given the variable.language.self scope, like in 1.20.1.

Screenshots
Current behavior (1.20.2):
Current behavior (1.20.2)
Expected behavior (1.20.1):
Expected behavior (1.20.1)

Environment (please complete the following information):

  • OS: macOS
  • Is WSL remote? No
  • Client: VSCode
@sumneko sumneko added the bug Something isn't working label Apr 6, 2021
@sumneko sumneko closed this as completed in 73b5e9e Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants