C++ lexer doesn't recognize function if return type is templated

Issue #1434 new
Jörg Bieber
created an issue

For this snippet the function name isn't highlighted because its return type is a template:

std::vector<int> func()
{
  std::vector<int> v = {0};
  return v;
}

For this snippet the function name is highlighted because its return type is not a template:

int func()
{
  return 0;
}

Comments (0)

  1. Log in to comment