/usr/share/gps/plug-ins/changelog.py is in gnat-gps-common 6.1.2016-1ubuntu1.
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 | """
This file adds support for editing ChangeLog files.
It provides syntax highlighting in these files, and a
text alias "hdr" which expands to the following line:
date user_name <user_name@>
You do not need to load this file if you never edit Changelog files
"""
###########################################################################
# No user customization below this line
###########################################################################
import GPS
XML = r"""<?xml version="1.0"?>
<GPS>
<Language>
<Name>Changelog</Name>
<Spec_Suffix>.changelog</Spec_Suffix>
<Keywords>[0-9]+|</Keywords>
<Keywords>\(.*\).*:</Keywords>
<Context>
<Comment_Start>*</Comment_Start>
<Comment_End>:</Comment_End>
<String_Delimiter>"</String_Delimiter>
<Constant_Character>'</Constant_Character>
<Can_Indent>True</Can_Indent>
<Syntax_Highlighting>True</Syntax_Highlighting>
<Case_Sensitive>False</Case_Sensitive>
</Context>
</Language>
<alias name="hdr">
<param name="USER" environment="true"/>
<text>%D %(USER) <%(USER)@></text>
</alias>
</GPS>
"""
GPS.parse_xml(XML)
|