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

Trouble with attributes #26

Open
red-patriot opened this issue Dec 2, 2019 · 1 comment
Open

Trouble with attributes #26

red-patriot opened this issue Dec 2, 2019 · 1 comment

Comments

@red-patriot
Copy link

When I give a function an attribute, the function name is no longer fontified.
When I write a function:
int myfunction() { /*...*/ }
it is fontified correctly. But if I add any attribute:
[[nodiscard]] int myfunction() { /*...*/ }
the function name myfunction is now just the default text color. This happens with multiple

@ludwigpacifici
Copy link
Owner

Hello,

I am not able to reproduce your issue:

attr

I suggest you to reproduce your issue with a minimal configuration. If the issue is still there, can you report it to cc-mode which is the official Emacs C++ support. If the bug is fixed upstream, all Emacs users will get a fix. This package was a temporary fix at the time of C++11 was released.

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

2 participants