mirror of
https://github.com/cmur2/joe-syntax.git
synced 2025-01-02 04:54:23 +01:00
Corrected tabs - using tab size 8
This commit is contained in:
parent
feb8e9fbed
commit
fe6271c08a
6
md.jsf
6
md.jsf
@ -18,8 +18,8 @@
|
|||||||
"*_" idle
|
"*_" idle
|
||||||
|
|
||||||
:maybe_bold1 Idle
|
:maybe_bold1 Idle
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"*_" bold recolor=-2
|
"*_" bold recolor=-2
|
||||||
|
|
||||||
:bold Bold
|
:bold Bold
|
||||||
* bold
|
* bold
|
||||||
@ -30,4 +30,4 @@
|
|||||||
"*_" end_bold
|
"*_" end_bold
|
||||||
|
|
||||||
:end_bold Bold
|
:end_bold Bold
|
||||||
* idle noeat
|
* idle noeat
|
||||||
|
32
prolog.jsf
32
prolog.jsf
@ -18,19 +18,19 @@
|
|||||||
"/" maybe_comment
|
"/" maybe_comment
|
||||||
"0-9" first_digit recolor=-1
|
"0-9" first_digit recolor=-1
|
||||||
"'" string_sq_1 recolor=-1
|
"'" string_sq_1 recolor=-1
|
||||||
"\"" string_dq_1 recolor=-1
|
"\"" string_dq_1 recolor=-1
|
||||||
"a-z" atom buffer
|
"a-z" atom buffer
|
||||||
"A-Z" variable recolor=-1
|
"A-Z" variable recolor=-1
|
||||||
"_" _variable
|
"_" _variable
|
||||||
"[]" brace recolor=-1
|
"[]" brace recolor=-1
|
||||||
|
|
||||||
:line_comment Comment
|
:line_comment Comment
|
||||||
* line_comment
|
* line_comment
|
||||||
"\n" idle
|
"\n" idle
|
||||||
|
|
||||||
:maybe_comment Idle
|
:maybe_comment Idle
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"*" comment recolor=-2
|
"*" comment recolor=-2
|
||||||
|
|
||||||
:comment Comment
|
:comment Comment
|
||||||
* comment
|
* comment
|
||||||
@ -42,7 +42,7 @@
|
|||||||
"*" maybe_end_comment
|
"*" maybe_end_comment
|
||||||
|
|
||||||
:brace Brace
|
:brace Brace
|
||||||
* idle noeat
|
* idle noeat
|
||||||
|
|
||||||
:string_sq_1 Constant
|
:string_sq_1 Constant
|
||||||
* string_sq noeat
|
* string_sq noeat
|
||||||
@ -69,32 +69,32 @@
|
|||||||
"\n" string_dq recolor=-2
|
"\n" string_dq recolor=-2
|
||||||
|
|
||||||
:first_digit Constant
|
:first_digit Constant
|
||||||
* idle noeat
|
* idle noeat
|
||||||
# no float support
|
# no float support
|
||||||
# "." float
|
# "." float
|
||||||
"0-9" first_number
|
"0-9" first_number
|
||||||
|
|
||||||
:first_number Constant
|
:first_number Constant
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"0-9" first_number
|
"0-9" first_number
|
||||||
"." float
|
"." float
|
||||||
|
|
||||||
:float Constant
|
:float Constant
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"eE" epart
|
"eE" epart
|
||||||
"0-9" float
|
"0-9" float
|
||||||
|
|
||||||
:epart Constant
|
:epart Constant
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"0-9+\-" enum
|
"0-9+\-" enum
|
||||||
|
|
||||||
:enum Constant
|
:enum Constant
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"0-9" enum
|
"0-9" enum
|
||||||
|
|
||||||
# list of keywords includes some predicates...
|
# list of keywords includes some predicates...
|
||||||
:atom Idle
|
:atom Idle
|
||||||
* idle noeat strings
|
* idle noeat strings
|
||||||
"append" kw
|
"append" kw
|
||||||
"atom" kw
|
"atom" kw
|
||||||
"atomic" kw
|
"atomic" kw
|
||||||
@ -125,13 +125,13 @@ done
|
|||||||
"a-zA-Z0-9_" atom
|
"a-zA-Z0-9_" atom
|
||||||
|
|
||||||
:kw Keyword
|
:kw Keyword
|
||||||
* idle noeat
|
* idle noeat
|
||||||
|
|
||||||
:variable Variable
|
:variable Variable
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"a-zA-Z0-9_" variable
|
"a-zA-Z0-9_" variable
|
||||||
|
|
||||||
:_variable Idle
|
:_variable Idle
|
||||||
* idle noeat
|
* idle noeat
|
||||||
# if it's not only _, color it
|
# if it's not only _, color it
|
||||||
"a-zA-Z0-9_" variable recolor=-2
|
"a-zA-Z0-9_" variable recolor=-2
|
||||||
|
38
ruby.jsf
38
ruby.jsf
@ -36,7 +36,7 @@
|
|||||||
"\n" idle
|
"\n" idle
|
||||||
"{}" brace recolor=-1
|
"{}" brace recolor=-1
|
||||||
"0" first_digit recolor=-1
|
"0" first_digit recolor=-1
|
||||||
"1-9" decimal recolor=-1
|
"1-9" decimal recolor=-1
|
||||||
"." maybe_float
|
"." maybe_float
|
||||||
"\"" string recolor=-1
|
"\"" string recolor=-1
|
||||||
"'" char recolor=-1
|
"'" char recolor=-1
|
||||||
@ -178,15 +178,15 @@ done
|
|||||||
# and color it so - else we are wrong with the guess that it's a todo-keyword
|
# and color it so - else we are wrong with the guess that it's a todo-keyword
|
||||||
# so it's a normal 'Comment'
|
# so it's a normal 'Comment'
|
||||||
:line_comment_todo_guess Comment
|
:line_comment_todo_guess Comment
|
||||||
* line_comment_todo_unknown noeat strings
|
* line_comment_todo_unkwn noeat strings
|
||||||
"TODO" line_comment_todo
|
"TODO" line_comment_todo
|
||||||
"FIXME" line_comment_todo
|
"FIXME" line_comment_todo
|
||||||
"BUG" line_comment_todo
|
"BUG" line_comment_todo
|
||||||
"XXX" line_comment_todo
|
"XXX" line_comment_todo
|
||||||
done
|
done
|
||||||
"A-Z" line_comment_todo_guess
|
"A-Z" line_comment_todo_guess
|
||||||
|
|
||||||
:line_comment_todo_unknown Idle
|
:line_comment_todo_unkwn Idle
|
||||||
* line_comment_i noeat
|
* line_comment_i noeat
|
||||||
|
|
||||||
:line_comment_todo CommentTODO
|
:line_comment_todo CommentTODO
|
||||||
@ -470,39 +470,39 @@ done
|
|||||||
* repl
|
* repl
|
||||||
|
|
||||||
:maybe_symbol Idle
|
:maybe_symbol Idle
|
||||||
* rest noeat
|
* rest noeat
|
||||||
":" maybe_symbol2
|
":" maybe_symbol2
|
||||||
|
|
||||||
:maybe_symbol2 Idle
|
:maybe_symbol2 Idle
|
||||||
* rest noeat
|
* rest noeat
|
||||||
# prevent wrong Module::Member detection
|
# prevent wrong Module::Member detection
|
||||||
":" rest
|
":" rest
|
||||||
# first char mustn't be 0-9
|
# first char mustn't be 0-9
|
||||||
"a-zA-Z_" symbol
|
"a-zA-Z_" symbol
|
||||||
# # might be a :"symbol"
|
# # might be a :"symbol"
|
||||||
# "\""
|
# "\""
|
||||||
|
|
||||||
:symbol Symbol
|
:symbol Symbol
|
||||||
* rest noeat
|
* rest noeat
|
||||||
"a-zA-Z0-9_" symbol recolor=-3
|
"a-zA-Z0-9_" symbol recolor=-3
|
||||||
|
|
||||||
:proc_arg ProcArg
|
:proc_arg ProcArg
|
||||||
* rest noeat
|
* rest noeat
|
||||||
"," proc_arg_sep noeat
|
"," proc_arg_sep noeat
|
||||||
"a-zA-Z_" proc_arg
|
"a-zA-Z_" proc_arg
|
||||||
|
|
||||||
:proc_arg_sep Idle
|
:proc_arg_sep Idle
|
||||||
* proc_arg
|
* proc_arg
|
||||||
|
|
||||||
:class_member1 Idle
|
:class_member1 Idle
|
||||||
* rest noeat
|
* rest noeat
|
||||||
"a-zA-Z_" class_member recolor=-2
|
"a-zA-Z_" class_member recolor=-2
|
||||||
"@" class_member2
|
"@" class_member2
|
||||||
|
|
||||||
:class_member2 ClassMember
|
:class_member2 ClassMember
|
||||||
* rest noeat
|
* rest noeat
|
||||||
"a-zA-Z_" class_member recolor=-3
|
"a-zA-Z_" class_member recolor=-3
|
||||||
|
|
||||||
:class_member ClassMember
|
:class_member ClassMember
|
||||||
* rest noeat
|
* rest noeat
|
||||||
"a-zA-Z0-9_" class_member
|
"a-zA-Z0-9_" class_member
|
||||||
|
40
yaml.jsf
40
yaml.jsf
@ -17,12 +17,12 @@
|
|||||||
* idle
|
* idle
|
||||||
"%" directive recolor=-1
|
"%" directive recolor=-1
|
||||||
"#" line_comment recolor=-1
|
"#" line_comment recolor=-1
|
||||||
"'" string_sq_1 recolor=-1
|
"'" string_sq_1 recolor=-1
|
||||||
"\"" string_dq_1 recolor=-1
|
"\"" string_dq_1 recolor=-1
|
||||||
"{[]}" brace recolor=-1
|
"{[]}" brace recolor=-1
|
||||||
"-" maybe_block1
|
"-" maybe_block1
|
||||||
"." maybe_block_end1
|
"." maybe_block_end1
|
||||||
"*&" maybe_reference
|
"*&" maybe_reference
|
||||||
"!" maybe_datacast
|
"!" maybe_datacast
|
||||||
|
|
||||||
:line_comment Comment
|
:line_comment Comment
|
||||||
@ -30,7 +30,7 @@
|
|||||||
"\n" idle
|
"\n" idle
|
||||||
|
|
||||||
:brace Brace
|
:brace Brace
|
||||||
* idle noeat
|
* idle noeat
|
||||||
|
|
||||||
:directive Directive
|
:directive Directive
|
||||||
* directive
|
* directive
|
||||||
@ -61,46 +61,46 @@
|
|||||||
"\n" string_dq recolor=-2
|
"\n" string_dq recolor=-2
|
||||||
|
|
||||||
:maybe_block1 Idle
|
:maybe_block1 Idle
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"-" maybe_block2
|
"-" maybe_block2
|
||||||
|
|
||||||
:maybe_block2 Idle
|
:maybe_block2 Idle
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"-" block recolor=-3
|
"-" block recolor=-3
|
||||||
|
|
||||||
:block BlockDelim
|
:block BlockDelim
|
||||||
* idle noeat
|
* idle noeat
|
||||||
|
|
||||||
:maybe_block_end1 Idle
|
:maybe_block_end1 Idle
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"." maybe_block_end2
|
"." maybe_block_end2
|
||||||
|
|
||||||
:maybe_block_end2 Idle
|
:maybe_block_end2 Idle
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"." block_end recolor=-3
|
"." block_end recolor=-3
|
||||||
|
|
||||||
:block_end BlockDelim
|
:block_end BlockDelim
|
||||||
* idle noeat
|
* idle noeat
|
||||||
|
|
||||||
:maybe_reference Idle
|
:maybe_reference Idle
|
||||||
* idle
|
* idle
|
||||||
"a-zA-Z_" reference recolor=-2
|
"a-zA-Z_" reference recolor=-2
|
||||||
|
|
||||||
:reference Reference
|
:reference Reference
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"a-zA-Z0-9_" reference
|
"a-zA-Z0-9_" reference
|
||||||
|
|
||||||
:maybe_datacast Idle
|
:maybe_datacast Idle
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"a-zA-Z_" local_datatype recolor=-1
|
"a-zA-Z_" local_datatype recolor=-1
|
||||||
"!" builtin_datatype1
|
"!" builtin_datatype1
|
||||||
|
|
||||||
:builtin_datatype1 Idle
|
:builtin_datatype1 Idle
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"a-zA-Z" builtin_datatype buffer
|
"a-zA-Z" builtin_datatype buffer
|
||||||
|
|
||||||
:builtin_datatype Idle
|
:builtin_datatype Idle
|
||||||
* idle noeat strings
|
* idle noeat strings
|
||||||
"str" dt
|
"str" dt
|
||||||
"float" dt
|
"float" dt
|
||||||
"binary" dt
|
"binary" dt
|
||||||
@ -108,8 +108,8 @@ done
|
|||||||
"a-zA-Z_" builtin_datatype
|
"a-zA-Z_" builtin_datatype
|
||||||
|
|
||||||
:dt Keyword
|
:dt Keyword
|
||||||
* idle noeat
|
* idle noeat
|
||||||
|
|
||||||
:local_datatype LocalDatatype
|
:local_datatype LocalDatatype
|
||||||
* idle noeat
|
* idle noeat
|
||||||
"a-zA-Z_" local_datatype
|
"a-zA-Z_" local_datatype
|
||||||
|
Loading…
Reference in New Issue
Block a user