Skip to content

Commit

Permalink
Add .tpp as a c++ lexer file extension (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
gandarez committed Aug 18, 2023
1 parent de3a9c2 commit b786c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lexers/cpp.go
Expand Up @@ -18,7 +18,7 @@ var CPP = Register(MustNewXMLLexer(
&Config{
Name: "C++",
Aliases: []string{"cpp", "c++"},
Filenames: []string{"*.cpp", "*.hpp", "*.c++", "*.h++", "*.cc", "*.hh", "*.cxx", "*.hxx", "*.C", "*.H", "*.cp", "*.CPP", "*.cppm", "*.ixx"},
Filenames: []string{"*.cpp", "*.hpp", "*.c++", "*.h++", "*.cc", "*.hh", "*.cxx", "*.hxx", "*.C", "*.H", "*.cp", "*.CPP", "*.cppm", "*.ixx", "*.tpp"},
MimeTypes: []string{"text/x-c++hdr", "text/x-c++src"},
Priority: 0.1,
EnsureNL: true,
Expand Down

0 comments on commit b786c3f

Please sign in to comment.