/usr/share/gtksourceview-3.0/language-specs/meson.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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | <?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of GtkSourceView
Copyright (C) 2015 Jussi Pakkanen <jpakkane@gmail.com>
Copyright (C) 2015 Igor Gnatenko <ignatenko@src.gnome.org>
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="meson" _name="Meson" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-meson</property>
<property name="globs">meson.build;meson_options.txt</property>
<property name="line-comment-start">#</property>
</metadata>
<styles>
<style id="builtin-command" _name="Builtin Command" map-to="def:function"/>
<style id="operator" _name="Operator" map-to="def:operator"/>
<style id="string" _name="String" map-to="def:string" />
</styles>
<definitions>
<context id="multiline-string" style-ref="def:string">
<start>'''</start>
<end>'''</end>
</context>
<context id="string" style-ref="def:string" end-at-line-end="true">
<start>'</start>
<end>'</end>
</context>
<context id="builtin-command" style-ref="builtin-command">
<prefix>(?i)</prefix>
<keyword>add_global_arguments</keyword>
<keyword>build_target</keyword>
<keyword>configuration_data</keyword>
<keyword>configure_file</keyword>
<keyword>custom_target</keyword>
<keyword>declare_dependency</keyword>
<keyword>dependency</keyword>
<keyword>error</keyword>
<keyword>executable</keyword>
<keyword>find_program</keyword>
<keyword>find_library</keyword>
<keyword>files</keyword>
<keyword>generator</keyword>
<keyword>get_option</keyword>
<keyword>gettext</keyword>
<keyword>include_directories</keyword>
<keyword>install_data</keyword>
<keyword>install_headers</keyword>
<keyword>install_man</keyword>
<keyword>install_subdir</keyword>
<keyword>is_subproject</keyword>
<keyword>jar</keyword>
<keyword>message</keyword>
<keyword>pkgconfig_gen</keyword>
<keyword>project</keyword>
<keyword>run_command</keyword>
<keyword>run_target</keyword>
<keyword>set_variable</keyword>
<keyword>shared_library</keyword>
<keyword>static_library</keyword>
<keyword>subdir</keyword>
<keyword>subproject</keyword>
<keyword>test</keyword>
<keyword>vcs_tag</keyword>
</context>
<context id="operator" style-ref="operator">
<keyword>if</keyword>
<keyword>else</keyword>
<keyword>endif</keyword>
<keyword>foreach</keyword>
<keyword>endforeach</keyword>
</context>
<context id="meson" class="no-spell-check">
<include>
<context ref="multiline-string"/>
<context ref="string"/>
<context ref="builtin-command"/>
<context ref="operator"/>
</include>
</context>
</definitions>
</language>
|