You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the minimap package does not understand that we're doing syntax highlighting. In fact, the Grammar subclass doesn't return any tokens in tokenizeLine which I think explains why the lines in the minimap are black. Atom's grammar tokens are supposed to collectively cover the whole text, but our grammar tokens cover none of the text because there are no tokens.
Possible solutions:
Have a textmate grammar. Use the Concat lexer to overlay extra information on top of it.
Give Atom the currently known tokens when it asks for them from the grammar. We get the tokens asynchronously, so maybe what we display will be out of date.
Plug into the minimap package.
I'm not of fan of the second option.
The text was updated successfully, but these errors were encountered:
I think the minimap package does not understand that we're doing syntax highlighting. In fact, the
Grammar
subclass doesn't return any tokens intokenizeLine
which I think explains why the lines in the minimap are black. Atom's grammar tokens are supposed to collectively cover the whole text, but our grammar tokens cover none of the text because there are no tokens.Possible solutions:
I'm not of fan of the second option.
The text was updated successfully, but these errors were encountered: