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

Syntax highlighting has stopped working #1

Closed
ghost opened this issue Nov 22, 2018 · 3 comments
Closed

Syntax highlighting has stopped working #1

ghost opened this issue Nov 22, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 22, 2018

Recently restarted my computer, only to find that language-apidoc no longer highlights the components in apiDoc definitions.

Now all comments are one color - gray.

screen shot 2018-11-22 at 10 33 48 am

@almic
Copy link
Owner

almic commented Mar 31, 2019

Sorry for coming so late, but what other packages do you have installed? I'm testing this again and I noticed that, for me at least, anything starting with an @ in a comment block is now highlighted.

I think that it's possible Atom updated language definitions and it may have broken this library completely, otherwise both of us have interfering packages.

@almic
Copy link
Owner

almic commented Mar 31, 2019

Update: Seems that Atom has a new way of defining grammars, and I'm positive this is why certain languages are stealing back comment block control from apiDoc. Right now, this package works perfectly in PHP comments, and after double-checking the language-php does NOT use this new method yet.

So just sit tight until I update to the new format!

Edit: the language-todo suffers from this, too. Seems a short-term solution is for you to disable tree sitter parsers, but as they plan on making this default I'm still going to update this.

@almic
Copy link
Owner

almic commented Apr 24, 2019

Sorry this took so long to fix, blame Max.

@almic almic closed this as completed Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant