/usr/share/gtksourceview-3.0/language-specs/chdr.lang is in libgtksourceview-3.0-common 3.18.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | <?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of GtkSourceView
Authors: Marco Barisione, Emanuele Aina
Copyright (C) 2005-2007 Marco Barisione <barisione@gmail.com>
Copyright (C) 2005-2007 Emanuele Aina
GtkSourceView is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
GtkSourceView is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
<language id="chdr" _name="C/C++/ObjC Header" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-chdr</property>
<property name="globs">*.h</property>
<property name="line-comment-start">//</property>
<property name="block-comment-start">/*</property>
<property name="block-comment-end">*/</property>
</metadata>
<!--
We include C++ and ObjC contexts since the .h extension
is also used for those languages. If you use .hh
or similar, we will use cpphdr.lang which is
basically the same thing, but having a separate lang file
allows a program to apply a language specific behavior,
for instance a different style for C++ headers.
-->
<definitions>
<context id="chdr">
<include>
<context ref="objc:objc-header"/>
<context ref="cpp:cpp-proper"/>
<context ref="c:c"/>
</include>
</context>
</definitions>
</language>
|