/usr/share/gretl/gtksourceview/gfnspec.lang is in gretl-common 2017d-3build1.
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 | <?xml version="1.0" encoding="UTF-8"?>
<language id="gfnspec" _name="gfnspec" version="2.0" _section="Scripts">
<metadata>
<property name="mimetypes">application/x-gfn-spec</property>
<property name="globs">*.spec</property>
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
</styles>
<definitions>
<context id="line-comment" style-ref="comment" end-at-line-end="true">
<start>#</start>
<include>
<context ref="def:escape"/>
<context ref="def:line-continue"/>
</include>
</context>
<context id="string" style-ref="string" end-at-line-end="true">
<start>"</start>
<end>"</end>
<include>
<context ref="def:escape"/>
<context ref="def:line-continue"/>
</include>
</context>
<context id="keys" style-ref="keyword">
<prefix>(^|\040|\011)</prefix>
<suffix>(?![\w\-\.\(])</suffix>
<keyword>author</keyword>
<keyword>email</keyword>
<keyword>version</keyword>
<keyword>date</keyword>
<keyword>description</keyword>
<keyword>min-version</keyword>
<keyword>data-requirement</keyword>
<keyword>public</keyword>
<keyword>no-print</keyword>
<keyword>sample-script</keyword>
<keyword>help</keyword>
<keyword>menu-attachment</keyword>
<keyword>label</keyword>
<keyword>gui-main</keyword>
<keyword>gui-help</keyword>
<keyword>menu-only</keyword>
<keyword>model-requirement</keyword>
<keyword>gui-precheck</keyword>
<keyword>bundle-print</keyword>
<keyword>bundle-plot</keyword>
<keyword>bundle-test</keyword>
<keyword>bundle-fcast</keyword>
<keyword>bundle-extra</keyword>
<keyword>data-files</keyword>
</context>
<context id="gfnspec">
<include>
<context ref="line-comment"/>
<context ref="string"/>
<context ref="keys"/>
</include>
</context>
</definitions>
</language>
|