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

Function heads break syntax highlighting #2

Open
epogue opened this issue Sep 18, 2020 · 2 comments
Open

Function heads break syntax highlighting #2

epogue opened this issue Sep 18, 2020 · 2 comments

Comments

@epogue
Copy link

epogue commented Sep 18, 2020

When a function head is used for defining default arguments for multiple function signatures, the syntax highlighting breaks for the next function definition until end is reached.

image

P.S. Thank you for pulling this package together! I'm hoping to get a chance to dive into Nova extensions soon and contribute where I can.

@stollcri
Copy link
Owner

stollcri commented Oct 1, 2020

I'm trying to find the solution for this

@happycollision
Copy link
Contributor

happycollision commented Dec 3, 2020

I am about to have a look myself, though this will be the first time I dig into a Nova extension so you might want to check as well: Typescript has a similar language feature and seems to highlight correctly in Nova. Perhaps that extension will give some clues.
CleanShot 2020-12-02 at 21 36 33@2x


Update: Well. The extension I was thinking does not include syntax highlighting. I guess Panic provides that out of the box.

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

3 participants