dotfiles

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

ini.jsf (1201B)


      1 # JOE syntax highlight file for INI 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 =Separator	bold
     12 =Section	bold magenta
     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 	"["		section		recolor=-1
     20 	"="		missing_key	recolor=-1
     21 
     22 :line_comment Comment
     23 	*		line_comment
     24 	"\n"		line_start
     25 
     26 :section Section
     27 	*		section
     28 	"]"		section_end
     29 	"\n"		section_unexp_end	recolor=-2
     30 
     31 :section_end Bad
     32 	*		section_end
     33 	"\n"		line_start
     34 
     35 :section_unexp_end Bad
     36 	*		line_start	noeat
     37 
     38 :missing_key Bad
     39 	*		value_pre	noeat
     40 
     41 :key Key
     42 	*		key
     43 	" \t\r"		key_post	noeat
     44 	"="		sep		recolor=-1
     45 	"\n"		key_error	recolor=-2
     46 
     47 :key_post Idle
     48 	*		value_pre	noeat
     49 	" \t\r"		key_post
     50 	"="		sep		recolor=-1
     51 
     52 :key_error Bad
     53 	*		key		noeat
     54 
     55 :sep Separator
     56 	*		value_pre	noeat
     57 
     58 :value_pre Idle
     59 	*		value		noeat
     60 	" \t\r"		value_pre
     61 
     62 :value Constant
     63 	*		value
     64 	"\\"		value_esc
     65 	"\n"		line_start
     66 	" "		maybe_comment	recolor=-1
     67 
     68 :value_esc Escape
     69 	*		value
     70 	"\n"		value_error	recolor=-2
     71 
     72 :value_error Bad
     73 	*		value		noeat
     74 
     75 :maybe_comment Idle
     76 	*		value		noeat
     77 	";#"		line_comment	recolor=-1