Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

YARD comments no longer syntax highlighted #245

Open
1 task
ioquatix opened this issue Oct 26, 2018 · 11 comments
Open
1 task

YARD comments no longer syntax highlighted #245

ioquatix opened this issue Oct 26, 2018 · 11 comments

Comments

@ioquatix
Copy link

ioquatix commented Oct 26, 2018

Prerequisites

Description

YARD comments no longer syntax highlighted

Steps to Reproduce

Previously, comments would be highlighted:

# @return [String] The result
def foobar
  return "foobar"
end

Expected behavior:

@return would be highlighted, along with other parts of the structured comment.

Actual behavior:

It's not highlighted

Reproduces how often: 100%

Versions

1.32.0

@ioquatix
Copy link
Author

cc @madleech

@ioquatix
Copy link
Author

Here is an example of what it used to look like:

#228

@Arcanemagus Arcanemagus changed the title Syntax highlighting for comments no longer working YARD comments no longer syntax highlighted Oct 29, 2018
@Arcanemagus
Copy link

Can you please update this issue to follow the template? Thanks!

@ioquatix
Copy link
Author

@Arcanemagus Okay, done. What more information do you need?

@Arcanemagus
Copy link

It looks like this is a regression from the enabling of Tree-sitter parsers by default in Atom v1.32.0:

Text-mate:
image

Tree-sitter:
image

You can work around this for now by changing the Settings -> Core -> Use Tree-sitter Parsers option within the Settings app.

@ioquatix
Copy link
Author

Ah so maybe a bug with the new parser? or a bug with how the grammar is specified?

@Arcanemagus
Copy link

From what I can see that extension simply hasn't been implemented in the Tree-sitter parser.

@ioquatix
Copy link
Author

That makes sense. Should we file a bug report on the tree-sitter parser?

@Arcanemagus
Copy link

That makes sense. Should we file a bug report on the tree-sitter parser?

Just here is fine 😉.

@epaulet

This comment has been minimized.

@Arcanemagus

This comment has been minimized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants