jeff-hykin / better-cpp-syntax

💾 The source of VS Code's C++ syntax highlighting
GNU General Public License v3.0
154 stars 29 forks source link

Packs in template template parameter are not highlighted #633

Open zyn0217 opened 1 year ago

zyn0217 commented 1 year ago

Checklist

The code with a problem is:

template <template <typename> typename U>
void foo();

template <template <typename...> typename U>
class Bar {};

It looks like:

image

With theme One Dark Pro Darker.

It should look like:

Same as that highlighted by GitHub.

Note that the builtin highlighting for c++, which is derived from this extension, seems to be influenced by this bug as well.