dotfiles

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

joerc.jsf (1678B)


      1 # JOE syntax highlight file for typical UNIX configuration files
      2 
      3 =Idle
      4 =Comment 	green
      5 =String 	cyan
      6 =Escape 	bold cyan
      7 =Bad		bold red
      8 
      9 :idle Idle
     10 	*		not_comment
     11 	"\n"		idle
     12 	" 	"	comment
     13 	"-"		option
     14 	"\""		keybind_string recolor=-1
     15 	"\i"		keybind
     16 
     17 :keybind Idle
     18 	*		keybind
     19 	"\""		keybind_string recolor=-1
     20 	"\n"		idle
     21 	","		keybind_after_comma
     22 	" 	"	keybind1
     23 
     24 :keybind_after_comma Idle
     25 	*		keybind noeat
     26 	" 	"	keybind_after_comma
     27 	"\n"		keybind_after_comma
     28 
     29 :keybind_string String
     30 	*		keybind_string
     31 	"\\"		keybind_escape recolor=-1
     32 	"\""		keybind
     33 
     34 :keybind_escape Escape
     35 	*		keybind_string
     36 
     37 :keybind1 Idle
     38 	*		keybind2
     39 	"\n"		idle
     40 	" 	"	keybind1
     41 
     42 :keybind2 Idle
     43 	*		keybind2
     44 	"\n"		idle
     45 	"	"	comment noeat
     46 	" "		maybe_com
     47 
     48 :maybe_com Idle
     49 	*		keybind2 noeat
     50 	" 	"	comment noeat
     51 
     52 :option Idle
     53 	*		bad recolor=-1
     54 	"-"		option
     55 	"\i"		ident buffer
     56 
     57 :ident Idle
     58 	*		comment noeat strings
     59 	"backpath"		sopt
     60 	"lines"			nopt
     61 	"baud"			nopt
     62 	"columns"		nopt
     63 	"skiptop"		nopt
     64 	"text_color"		sopt
     65 	"status_color"		sopt
     66 	"help_color"		sopt
     67 	"menu_color"		sopt
     68 	"prompt_color"		sopt
     69 	"msg_color"		sopt
     70 	"lmsg"			sopt
     71 	"rmsg"			sopt
     72 	"cpara"			sopt
     73 	"encoding"		sopt
     74 	"syntax"		sopt
     75 	"indentc"		nopt
     76 	"istep"			nopt
     77 	"lmargin"		nopt
     78 	"rmargin"		nopt
     79 	"keymap"		sopt
     80 	"mfirst"		sopt
     81 	"mnew"			sopt
     82 	"mold"			sopt
     83 	"msnew"			sopt
     84 	"msold"			sopt
     85 	"text_delimiters"	sopt
     86 done
     87 	"\c"	ident
     88 
     89 :sopt Idle
     90 	*		dosopt noeat
     91 
     92 :dosopt String
     93 	*		dosopt
     94 	"\n"		idle
     95 
     96 :nopt Idle
     97 	*		bad recolor=-1
     98 	" 	"	nopt
     99 	"0-9"		nopt1 recolor=-1
    100 
    101 :nopt1 String
    102 	*		comment noeat
    103 	"0-9"		nopt1
    104 
    105 :bad Bad
    106 	*		bad
    107 	"\n"		idle
    108 
    109 :comment Comment
    110 	*		comment
    111 	"\n"		idle
    112 
    113 :not_comment Idle
    114 	*		not_comment
    115 	"\n"		idle