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

Python decorators not highlighted #2017

Closed
pllnk opened this issue Aug 14, 2019 · 0 comments · Fixed by #2018
Closed

Python decorators not highlighted #2017

pllnk opened this issue Aug 14, 2019 · 0 comments · Fixed by #2018

Comments

@pllnk
Copy link

pllnk commented Aug 14, 2019

Information

  • Language: Python
  • Plugins: none

Does the problem still occur in the latest version of Prism? Yes.

Description
A decorator is only highlighted if it is at the start of the file.

Code snippet

The code being highlighted incorrectly.
@decorator
def foo(bar):
    pass

@decorator
def foo(bar):
    pass

@decorator
def foo(bar):
    pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants