modern-cpp-font-lock icon indicating copy to clipboard operation
modern-cpp-font-lock copied to clipboard

Trouble with attributes

Open red-patriot opened this issue 6 years ago • 1 comments

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

red-patriot avatar Dec 02 '19 00:12 red-patriot

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.

ludwigpacifici avatar Feb 01 '20 12:02 ludwigpacifici