dotfiles

My dotfiles.
Log | Files | Refs | LICENSE

jcf.jsf (1324B)


      1 # JOE syntax highlight file for Joe Colors
      2 
      3 =Idle
      4 =Comment
      5 =Preproc
      6 =Define		+DefinedIdent
      7 =ColorSection	+Preproc
      8 =BuiltinSpec	+Keyword
      9 =ColorAttr	+Keyword
     10 =ColorDef	+Type
     11 =ColorRef	+Type
     12 =Constant
     13 =Number		+Constant
     14 =Operator
     15 =Macro		+Variable +Escape
     16 
     17 :idle Idle
     18 	*		idle
     19 	"#"		comment		recolor=-1
     20 	"0-9"		number		recolor=-1
     21 	"$"		hex_color	recolor=-1
     22 	"*"		asterisk	recolor=-1
     23 	"="		color_def	recolor=-1
     24 	"+"		color_ref	recolor=-1
     25 	"."		pre		recolor=-1 buffer
     26 	"/"		slash		recolor=-1
     27 	"-"		builtin		recolor=-1
     28 	"["		macro_ref	recolor=-1
     29 	"a-zA-Z"	attribute	recolor=-1
     30 
     31 :comment Comment comment
     32 	*		comment
     33 	"\n"		idle
     34 
     35 :number Number
     36 	*		idle		noeat
     37 	"0-9"		number
     38 
     39 :hex_color Number
     40 	*		idle		noeat
     41 	"0-9a-fA-F"	hex_color
     42 
     43 :asterisk Operator
     44 	*		idle		noeat
     45 
     46 :slash Operator
     47 	*		idle		noeat
     48 
     49 :color_def ColorDef
     50 	*		idle		noeat
     51 	"\c."		color_def
     52 
     53 :color_ref ColorRef
     54 	*		idle		noeat
     55 	"\c."		color_ref
     56 
     57 :pre Preproc
     58 	*		idle		noeat strings
     59 	".colors"	color_section
     60 	".set"		macro_def
     61 done
     62 	"\c"		pre
     63 
     64 :color_section ColorSection
     65 	*		idle		noeat
     66 
     67 :macro_def Preproc
     68 	*		idle
     69 	" \t"		macro_def
     70 	"\i"		macro_name	noeat
     71 
     72 :macro_name Define
     73 	*		idle
     74 	"\i\c"		macro_name
     75 
     76 :macro_ref Macro
     77 	*		macro_ref
     78 	"\n]"		idle
     79 
     80 :builtin BuiltinSpec
     81 	*		idle		noeat
     82 	"\c"		builtin
     83 
     84 :attribute ColorAttr
     85 	*		idle		noeat
     86 	"a-zA-Z"	attribute