dotfiles

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

r.jsf.in (2623B)


      1 # JOE syntax highlight file for R
      2 
      3 =Idle
      4 =Bad		bold red
      5 =Preproc 	blue
      6 =Define		bold blue
      7 =Comment 	green
      8 =IncLocal	cyan
      9 =IncSystem	bold cyan
     10 =Constant 	cyan
     11 =Escape 	bold cyan
     12 =Type 		bold
     13 =Keyword 	bold
     14 =CppKeyword	bold
     15 =Brace		magenta
     16 =Control
     17 
     18 :idle Idle
     19 	*		idle
     20 	"#"		line_comment	recolor=-1
     21 	"0"		first_digit	recolor=-1
     22 	"1-9"		decimal	recolor=-1
     23 	"."		maybe_float	buffer
     24 	"\""		string		recolor=-1
     25 	"'"		char		recolor=-1
     26 	"\p{L}\p{Nl}"	ident		buffer
     27 	"\\"		outside_escape	recolor=-1
     28 	"{}"		brace		recolor=-1
     29 	"/,:;=()><[]*&|!~+\-%^"	control		recolor=-1
     30 
     31 :outside_escape	Escape
     32 	*	idle
     33 
     34 :brace Brace
     35 	*	idle	noeat
     36 
     37 :control Control
     38 	*	idle	noeat
     39 
     40 :line_comment Comment comment
     41 	*		line_comment
     42 	"\n"		idle
     43 
     44 :first_digit Constant
     45 	*		idle	noeat
     46 	"xX"		hex
     47 	"."		float
     48 	"eE"		epart
     49 	"0-9"		decimal
     50 	"L"		idle
     51 
     52 :hex Constant
     53 	*		idle	noeat
     54 	"0-9A-Fa-f"	hex
     55 
     56 :decimal Constant
     57 	*		idle	noeat
     58 	"0-9"		decimal
     59 	"eE"		epart
     60 	"."		float
     61 	"L"		idle
     62 
     63 :maybe_float Constant
     64 	*		idle	recolor=-2	noeat
     65 	"\i."		ident	recolor=-2
     66 	"0-9"		float		recolor=-2
     67 
     68 :float Constant
     69 	*		idle	noeat
     70 	"eE"		epart
     71 	"0-9"		float
     72 	"L"		idle
     73 
     74 :epart Constant
     75 	*		idle	noeat
     76 	"0-9+\-"	enum
     77 
     78 :enum Constant
     79 	*		idle	noeat
     80 	"0-9"		enum
     81 	"L"		idle
     82 
     83 :string	Constant string
     84 	*		string
     85 	"\""		idle
     86 	"\\"		string_escape	recolor=-1
     87 	"%"		string_control	recolor=-1
     88 
     89 :string_escape Escape string
     90 	*		string
     91 	"x"		string_hex
     92 	"0-7"		string_octal2
     93 	"\n"		string		recolor=-2
     94 
     95 # \x will consume all successive hex digits (ANSI C).
     96 :string_hex Escape string
     97 	*		string		noeat
     98 	"0-9a-fA-F"	string_hex
     99 
    100 :string_octal2 Escape string
    101 	*		string		noeat
    102 	"0-7"		string_octal3
    103 
    104 :string_octal3 Escape string
    105 	*		string		noeat
    106 	"0-7"		string
    107 
    108 :string_control Escape string
    109 	*		string
    110 	"\""		string noeat
    111 	"\n"		idle
    112 	"\\"		string_escape	recolor=-1
    113 	"0-9.\-+ #hjILtz$"	string_control
    114 
    115 :char Constant string
    116 	*		char
    117 	"\n"		idle
    118 	"'"		idle
    119 	"\\"		char_escape	recolor=-1
    120 
    121 :char_escape	Escape string
    122 	*		char
    123 	"x"		char_hex
    124 	"0-7"		char_octal2
    125 	"\n"		char		recolor=-2
    126 
    127 # \x will consume all successive hex digits (ANSI C).
    128 :char_hex Escape string
    129 	*		char		noeat
    130 	"0-9a-fA-F"	char_hex
    131 
    132 :char_octal2 Escape string
    133 	*		char		noeat
    134 	"0-7"		char_octal3
    135 
    136 :char_octal3 Escape string
    137 	*		char		noeat
    138 	"0-7"		char
    139 
    140 :ident Idle
    141 	*		idle		noeat strings
    142 	"TRUE"		val
    143 	"FALSE"		val
    144 	"NULL"		val
    145 	"Inf"		val
    146 	"NaN"		val
    147 	"NA"		val
    148 	"NA_integer_"	val
    149 	"NA_real_"	val
    150 	"NA_complex_"	val
    151 	"NA_character_"	val
    152 	"if"		kw
    153 	"else"		kw
    154 	"repeat"	kw
    155 	"while"		kw
    156 	"function"	kw
    157 	"for"		kw
    158 	"in"		kw
    159 	"next"		kw
    160 	"break"		kw
    161 done
    162 	"\c."		ident
    163 
    164 :val Constant
    165 	*	idle	noeat
    166 
    167 :kw Keyword
    168 	*	idle	noeat