Created
September 20, 2012 13:51
-
-
Save jlgreer/3756047 to your computer and use it in GitHub Desktop.
Kate syntax highlighter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE language SYSTEM "language.dtd"> | |
<!-- | |
This file is part of KDE's kate project. | |
copyright : (C) 2009, 2012 by Jessica Greer, John Coleman | |
email : [email protected] | |
********************************************************************** | |
* This library is free software; you can redistribute it and/or * | |
* modify it under the terms of the GNU Library General Public * | |
* License as published by the Free Software Foundation; either * | |
* version 2 of the License, or (at your option) any later version. * | |
* * | |
* This library 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 *max | |
* Library General Public License for more details. * | |
* * | |
* You should have received a copy of the GNU Library General Public * | |
* License along with this library; if not, write to the * | |
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * | |
* Boston, MA 02110-1301, USA. * | |
********************************************************************** | |
--> | |
<language name="Cfengine" version="3.0.0p1" kateversion="2.5.10" section="Configuration" extensions="*.cf" mimetype="text/css" author="Jessica Greer ([email protected])" license="LGPL" > | |
<highlighting> | |
<list name="promises"> | |
<!-- common control promises --> | |
<item> bundlesequence </item> | |
<item> inputs </item> | |
<item> version </item> | |
<item> lastseenexpireafter </item> | |
<item> output_prefix </item> | |
<item> domain </item> | |
<!-- agent control promises --> | |
<item> maxconnections </item> | |
<item> abortclasses </item> | |
<item> abortbundleclasses </item> | |
<item> addclasses </item> | |
<item> agentaccess </item> | |
<item> auditing </item> | |
<item> binarypaddingchar </item> | |
<item> bindtointerface </item> | |
<item> hashupdates </item> | |
<item> childlibpath </item> | |
<item> defaultcopytype </item> | |
<item> dryrun </item> | |
<item> editbinaryfilesize </item> | |
<item> editfilesize </item> | |
<item> exclamation </item> | |
<item> expireafter </item> | |
<item> files_single_copy </item> | |
<item> files_auto_define </item> | |
<item> fullencryption </item> | |
<item> hostnamekeys </item> | |
<item> ifelapsed </item> | |
<item> inform </item> | |
<item> lastseen </item> | |
<item> lastseenexpireafter </item> | |
<item> mountfilesystems </item> | |
<item> nonalphanumfiles </item> | |
<item> repchar </item> | |
<item> default_repository </item> | |
<item> secureinput </item> | |
<item> sensiblecount</item> | |
<item> sensiblesize </item> | |
<item> skipidentify </item> | |
<item> suspiciousnames </item> | |
<item> syslog </item> | |
<item> timezone </item> | |
<item> default_timeout </item> | |
<item> verbose </item> | |
<!-- agent control promises --> | |
<item> cfruncommand </item> | |
<item> maxconnections </item> | |
<item> denybadclocks </item> | |
<item> allowconnects </item> | |
<item> denyconnects </item> | |
<item> allowallconnects </item> | |
<item> trustkeysfrom</item> | |
<item> allowusers </item> | |
<item> dynamicaddresses </item> | |
<item> skipverify </item> | |
<item> logallconnections </item> | |
<item> logencryptedtransfers </item> | |
<item> hostnamekeys </item> | |
<item> auditing </item> | |
<item> bindtointerface </item> | |
<item> serverfacility </item> | |
<!-- monitor control promises --> | |
<item> forgetrate </item> | |
<item> monitorfacility </item> | |
<item> histograms </item> | |
<item> tcpdump </item> | |
<item> tcpdumpcommand </item> | |
<!-- runagent control promises --> | |
<item> hosts </item> | |
<item> port </item> | |
<item> force_ipv4 </item> | |
<item> trustkey </item> | |
<item> encrypt </item> | |
<item> background_children </item> | |
<item> max_children </item> | |
<item> output_to_file </item> | |
<!-- executor control promises --> | |
<item> splaytime </item> | |
<item> mailfrom </item> | |
<item> mailto </item> | |
<item> smtpserver </item> | |
<item> mailmaxlines </item> | |
<item> schedule </item> | |
<item> executorfacility </item> | |
<item> exec_command </item> | |
<!-- knowledge control promises --> | |
<item> id_prefix </item> | |
<item> build_directory </item> | |
<item> sql_type </item> | |
<item> sql_database </item> | |
<item> sql_owner </item> | |
<item> sql_passwd </item> | |
<item> sql_server </item> | |
<item> query_output </item> | |
<item> query_engine </item> | |
<item> style_sheet </item> | |
<item> html_banner </item> | |
<item> html_footer </item> | |
<item> graph_output </item> | |
<item> graph_directory </item> | |
<item> generate_manual </item> | |
<item> manual_source_directory </item> | |
<!--reporter control promises --> | |
<item> reports </item> | |
<item> report_output </item> | |
<item> build_directory </item> | |
<item> auto_scaling </item> | |
<item> error_bars </item> | |
<item> time_stamps </item> | |
<item> query_engine </item> | |
<item> style_sheet </item> | |
<item> html_banner </item> | |
<item> html_footer </item> | |
<item> style_sheet </item> | |
</list> | |
<list name="data_types"> | |
<item> string </item> | |
<item> int </item> | |
<item> real </item> | |
<item> slist </item> | |
<item> ilist </item> | |
<item> policy </item> | |
</list> | |
<contexts> | |
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" > | |
<DetectSpaces /> | |
<keyword attribute="Promises" context="#stay" String="promises" /> | |
<keyword attribute="Data_types" context="#stay" String="data_types" /> | |
<DetectChar attribute="String" context="doublequotestring" char=""" /> | |
<DetectChar attribute="String" context="singlequotestring" char="'" /> | |
<RegExpr attribute="Class" context="#stay" String="\$[a-zA-Z0-9_]*::" /> | |
<DetectChar char="#" attribute="Comment" context="Comment" /> | |
</context> | |
<context name="doublebackquotestringcommon" attribute="String" lineEndContext="#stay"> | |
<!-- Common rules for double quoted strings and backticks (execution operator) URL: http://de3.php.net/manual/en/language.types.string.php#language.types.string.syntax.double --> | |
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\" /> | |
<RegExpr attribute="Variable" context="#stay" String="\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*" /> | |
<RegExpr attribute="Variable" context="#stay" String="\$\{[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*\}" /> | |
<RegExpr attribute="Variable" context="#stay" String="\{\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[([0-9]*|"[^"]*"|\$[a-zA-Z]*)|'[^']*'|\])*(->[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(\[[a-zA-Z0-9_]*\])*(\[([0-9]*|"[a-zA-Z_]*")|'[a-zA-Z_]*'|\])*)*\}" /> | |
</context> | |
<context name="backquotestring" attribute="String" lineEndContext="#stay"> | |
<IncludeRules context="doublebackquotestringcommon"/> | |
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="`" /> | |
<DetectChar attribute="String" context="#pop" char="`" /> | |
</context> | |
<context name="doublequotestring" attribute="String" lineEndContext="#stay"> | |
<IncludeRules context="doublebackquotestringcommon"/> | |
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1=""" /> | |
<DetectChar attribute="String" context="#pop" char=""" /> | |
</context> | |
<context name="singlequotestring" attribute="String" lineEndContext="#stay"> | |
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="'"/> | |
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\"/> | |
<DetectChar attribute="String" context="#pop" char="'" /> | |
</context> | |
<context name="Comment" attribute="Comment" lineEndContext="#pop"> | |
</context> | |
</contexts> | |
<itemDatas> | |
<itemData name="Normal Text" defStyleNum="dsNormal"/> | |
<itemData name="Data_types" defStyleNum="dsDataType" /> | |
<itemData name="Promises" defStyleNum="dsKeyword"/> | |
<itemData name="String" defStyleNum="dsString" /> | |
<itemData name="Class" defStyleNum="dsAlert" /> | |
<itemData name="Comment" defStyleNum="dsComment" /> | |
</itemDatas> | |
</highlighting> | |
<general> | |
<keywords casesensitive="1"/> | |
<comments> | |
<comment name="singleLine" start="#"/> | |
</comments> | |
</general> | |
</language> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment