Skip to content

Commit

Permalink
Add *.tpp as a C++ extension
Browse files Browse the repository at this point in the history
*.tpp files are used to store template implementation.
This is advised for example in [these guidelines](http://web.mst.edu/~cpp/cpp_coding_standard_v1_1.pdf).
  • Loading branch information
vser1 authored Nov 3, 2016
1 parent a294eeb commit 14176cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rouge/lexers/cpp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class Cpp < C
'*.c++', '*.h++',
'*.cc', '*.hh',
'*.cxx', '*.hxx',
'*.pde', '*.ino'
'*.pde', '*.ino',
'*.tpp'
mimetypes 'text/x-c++hdr', 'text/x-c++src'

def self.keywords
Expand Down

0 comments on commit 14176cf

Please sign in to comment.