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

Incorrect function highlighting #9

Open
moshiur-raj opened this issue Sep 4, 2020 · 2 comments
Open

Incorrect function highlighting #9

moshiur-raj opened this issue Sep 4, 2020 · 2 comments

Comments

@moshiur-raj
Copy link

var in #define var (int)1.0 is highlighted like a function.

@bfrg bfrg added bug and removed bug labels Sep 4, 2020
@bfrg
Copy link
Owner

bfrg commented Sep 4, 2020

Thanks for reporting this. The regex for highlighting function names is very simple. Just highlight all words appearing before an opening parenthesis. I don't know if I want to make it too complex because that's a rather special case that doesn't occur very often. I need to think about this a little bit longer.

@moshiur-raj
Copy link
Author

No problem, I've been using your plugin for months and I just discovered this yesterday. So not a big problem for me too. Thanks for the plugin btw.

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

No branches or pull requests

2 participants