diff --git a/filedefs/filetypes.REXX.conf b/filedefs/filetypes.REXX.conf new file mode 100644 index 0000000..5db9c2c --- /dev/null +++ b/filedefs/filetypes.REXX.conf @@ -0,0 +1,67 @@ +# For complete documentation of this file, please see Geany's main documentation +# ------------------------------------------------------------------------------ +# REXX's Syntax Highlighting For Geany +# ------------+------------+---------------------------------------------------- +# Version 1.0 | 2015-08-26 | Franck ALBARET [ http://dansleru.sh ] +# ------------+------------+---------------------------------------------------- +# Version 1.1 | 2016-03-11 | Franck ALBARET [ http://dansleru.sh ] +# ------------+------------+---------------------------------------------------- +[styling] +default=default +comment=comment +character=character +number=number_1 +word=keyword_1 +word2=keyword_2 +string=string_1 +character=character +operator=#808080;false;false +#attribute=attribute +#class=class +#directive=preprocessor +#doublestring=string_1 +#extended_identifier=keyword_1 +#extended_pseudoclass=string_1 +#extended_pseudoelement=string_2 +#id=class +#important=error +#identifier=identifier_1 +#identifier2=identifier_2 +#identifier3=keyword_1 +#media=parameter +#pseudoclass=string_1 +#pseudoelement=string_2 +#quotedidentifier=identifier_2 +#singlestring=string_2 +#tag=tag +#unknown_pseudoclass=default +#unknown_identifier=default +#value=value +#variable=identifier_1 + +[keywords] +# all items must be in one line +primary=address Address ADDRESS arg Arg ARG call Call CALL do Do DO drop Drop DROP else Else ELSE end End END exit Exit EXIT expose Expose EXPOSE forward Forward FORWARD forever Forever FOREVER guard Guard GUARD if If IF interpret Interpret INTERPRET iterate Iterate ITERATE leave Leave LEAVE nop Nop NOP numeric Numeric NUMERIC otherwise Otherwise OTHERWISE parse Parse PARSE procedure Procedure PROCEDURE pull Pull PULL push Push PUSH queue Queue QUEUE raise Raise RAISE reply Reply REPLY return Return RETURN say Say SAY select Select SELECT signal Signal SIGNAL source Source SOURCE then Then THEN trace Trace TRACE until Until UNTIL upper Upper UPPER use Use USE var Var VAR value Value VALUE when When WHEN while While WHILE +secondary=abbrev Abbrev ABBREV abs Abs ABS beep Beep BEEP bitand Bitand BITAND bitor Bitor BITOR bitxor Bitxor BITXOR b2x B2x B2X center Center CENTER centre Centre CENTRE changestr Changestr CHANGESTR charin Charin CHARIN charout Charout CHAROUT chars Chars CHARS compare Compare COMPARE condition Condition CONDITION copies Copies COPIES countstr Countstr COUNTSTR c2d C2d C2D c2x C2x C2X datatype Datatype DATATYPE date Date DATE delstr Delstr DELSTR delword Delword DELWORD digits Digits DIGITS directory Directory DIRECTORY d2c D2c D2C d2x D2x D2X errortext Errortext ERRORTEXT filespec Filespec FILESPEC form Form FORM format Format FORMAT fuzz Fuzz FUZZ insert Insert INSERT lastpos Lastpos LASTPOS left Left LEFT length Length LENGTH linein Linein LINEIN lineout Lineout LINEOUT lines Lines LINES max Max MAX min Min MIN overlay Overlay OVERLAY pos Pos POS queued Queued QUEUED random Random RANDOM reverse Reverse REVERSE right Right RIGHT sign Sign SIGN sourceline Sourceline SOURCELINE space Space SPACE stream Stream STREAM strip Strip STRIP substr Substr SUBSTR subword Subword SUBWORD time Time TIME trace Trace TRACE translate Translate TRANSLATE trunc Trunc TRUNC value Value VALUE var Var VAR verify Verify VERIFY word Word WORD wordindex Wordindex WORDINDEX wordlength Wordlength WORDLENGTH wordpos Wordpos WORDPOS words Words WORDS xrange Xrange XRANGE x2b X2b X2B x2c X2c X2C x2d X2d X2D +#primary=address arg call do drop else end exit expose forward forever guard if interpret iterate leave nop numeric otherwise parse procedure pull push queue raise reply return say select signal source then trace until upper use var value when while +#secondary=abbrev abs beep bitand bitor bitxor b2x center centre changestr charin charout chars compare condition copies countstr c2d c2x datatype date delstr delword digits directory d2c d2x errortext filespec form format fuzz insert lastpos left length linein lineout lines max min overlay pos queued random reverse right sign sourceline space stream strip substr subword time trace translate trunc value var verify word wordindex wordlength wordpos words xrange x2b x2c x2d + +[settings] +lexer_filetype=C +# Default extension used when saving files +extension=rex + +# MIME type +mime_type=application/x-rexx + +# Multiline comments +comment_open=/* +comment_close=*/ + +# context action command (please see Geany's main documentation for details) +context_action_cmd= + +[indentation] +#width=4 +# 0 is spaces, 1 is tabs, 2 is tab & spaces +#type=0