dotfiles

My dotfiles.
git clone git://git.ryanmj.xyz/dotfiles.git
Log | Files | Refs | LICENSE

properties.jsf (1448B)


      1 # JOE syntax highlight file for properties files
      2 # by Christian Nicolai (http://mycrobase.de)
      3 
      4 =Idle
      5 =Comment	green
      6 =Constant	cyan
      7 =Escape		bold cyan
      8 =Bad		bold red
      9 
     10 =Key		
     11 =KeyEscape	bold
     12 =Separator	bold
     13 
     14 :line_start Idle
     15 	*		key		noeat
     16 	"\n"		line_start
     17 	" \t\r"		line_start # leading spaces
     18 	"#!"		line_comment	recolor=-1
     19 	"=:"		missing_key	recolor=-1
     20 
     21 :line_comment Comment
     22 	*		line_comment
     23 	"\n"		line_start
     24 
     25 :missing_key Bad
     26 	*		value_pre	noeat
     27 
     28 :key Key
     29 	*		key
     30 	"\\"		key_esc		recolor=-1
     31 	" \t\r"		key_post	noeat
     32 	"=:"		sep		recolor=-1
     33 	"\n"		key_error	recolor=-2
     34 
     35 # one escaped char
     36 :key_esc KeyEscape
     37 	*		key
     38 	"\n"		key_error	recolor=-2
     39 
     40 :key_post Idle
     41 	*		value_pre	noeat
     42 	" \t\r"		key_post
     43 	"=:"		sep		recolor=-1
     44 
     45 :key_error Bad
     46 	*		key		noeat
     47 
     48 :sep Separator
     49 	*		value_pre	noeat
     50 
     51 :value_pre Idle
     52 	*		value		noeat
     53 	" \t\r"		value_pre
     54 
     55 :value Constant
     56 	*		value
     57 	"\\"		value_esc	recolor=-1
     58 	"\n"		line_start
     59 
     60 :value_esc Escape
     61 	*		value_error	recolor=-2
     62 	"u"		value_unicode_hex1
     63 	"\n"		value_cont
     64 
     65 :value_unicode_hex1 Escape
     66 	*		value_error	recolor=-3
     67 	"A-Fa-f0-9"	value_unicode_hex2
     68 
     69 :value_unicode_hex2 Escape
     70 	*		value_error	recolor=-4
     71 	"A-Fa-f0-9"	value_unicode_hex3
     72 
     73 :value_unicode_hex3 Escape
     74 	*		value_error	recolor=-5
     75 	"A-Fa-f0-9"	value_unicode_hex4
     76 
     77 :value_unicode_hex4 Escape
     78 	*		value_error	recolor=-6
     79 	"A-Fa-f0-9"	value
     80 
     81 :value_cont Constant
     82 	*		value
     83 	" \t\r"		value_cont # leading spaces
     84 
     85 :value_error Bad
     86 	*		value		noeat