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

Add support for highlighting functions #32

Open
Nek-12 opened this issue Apr 15, 2024 · 3 comments
Open

Add support for highlighting functions #32

Nek-12 opened this issue Apr 15, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Nek-12
Copy link
Contributor

Nek-12 commented Apr 15, 2024

No description provided.

@tmaxxdd
Copy link
Member

tmaxxdd commented Apr 28, 2024

Hi @Nek-12.

Please provide an example of this feature, perfectly in PR

@Nek-12
Copy link
Contributor Author

Nek-12 commented Apr 29, 2024

image

Functions can be highlighted with a different color as on the screenshot based on the parentheses after the declaration. Granted, we can't be sure a function will be highlighted properly with some languages that have function syntax sugar, such as kotlin trailing lambda foo { }. However, we could try to highlight what we can.

@tmaxxdd
Copy link
Member

tmaxxdd commented Aug 11, 2024

I mark this as "nice to have" as many languages do not have "function keyword" and it would require structure analysis

@tmaxxdd tmaxxdd added the enhancement New feature or request label Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants