[gtksourceview] cpp.lang: add *.tpp glob for C++ types



commit 414ac67830f6e77629f1f1a13273de20e2469fe5
Author: Christian Hergert <chergert redhat com>
Date:   Mon Oct 1 12:12:12 2018 -0700

    cpp.lang: add *.tpp glob for C++ types
    
    References:
    
      https://stackoverflow.com/a/495056/955273
      
https://stackoverflow.com/questions/44774036/why-use-a-tpp-file-when-implementing-templated-functions-and-classes-defined-i
    
    Fixes #23

 data/language-specs/cpp.lang | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/language-specs/cpp.lang b/data/language-specs/cpp.lang
index 3525f4bf..6f6df953 100644
--- a/data/language-specs/cpp.lang
+++ b/data/language-specs/cpp.lang
@@ -25,7 +25,7 @@
 <language id="cpp" name="C++" version="2.0" _section="Source">
     <metadata>
       <property name="mimetypes">text/x-c++;text/x-cpp;text/x-c++src</property>
-      <property name="globs">*.cpp;*.cxx;*.cc;*.C;*.c++</property>
+      <property name="globs">*.cpp;*.cxx;*.cc;*.C;*.c++;*.tpp</property>
       <property name="line-comment-start">//</property>
       <property name="block-comment-start">/*</property>
       <property name="block-comment-end">*/</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]