dotfiles

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

tex.jsf (1280B)


      1 # joe [La]TeX syntax highlighting
      2 
      3 =Idle
      4 =Comment 	green
      5 =Keyword 	bold
      6 =Mathmode 	cyan
      7 =Brace		magenta
      8 =Parameter	bold blue
      9 =Bad		bold red
     10 
     11 :idle Idle
     12 	*		idle
     13 	"%"		comment		recolor=-1
     14 	"$"		math		recolor=-1
     15 	"\\"		command		recolor=-1
     16 	"{[]}"		brace		recolor=-1
     17 	"#"		parameter	recolor=-1
     18 
     19 :comment Comment
     20 	*		comment
     21 	# might be TODO label
     22 	"BFHNTX"	comment		noeat call=comment_todo.comment_todo()
     23 	"\n"		idle
     24 
     25 :math Mathmode
     26 	*		math
     27 	"\\"		math_command	recolor=-1
     28 	"{[]}"		math_brace	recolor=-1
     29 	"$"		idle
     30 
     31 :math_command Keyword
     32 	*		math
     33 	"a-zA-Z@"	math_command2
     34 
     35 :math_command2 Keyword
     36 	*		math		noeat
     37 	"a-zA-Z@"	math_command2
     38 
     39 :parameter Parameter
     40 	*		idle		noeat
     41 	"0-9"		idle
     42 
     43 :brace Brace
     44 	*		idle		noeat
     45 
     46 :math_brace Brace
     47 	*		math		noeat
     48 
     49 :command Keyword
     50 	*		idle
     51 	"a-zA-Z@"	command2	buffer
     52 
     53 :command2 Keyword
     54 	*		idle		noeat strings
     55 #	"begin"		env_begin
     56 	"verb"		verbatim
     57 done
     58 	"a-zA-Z@"	command2
     59 
     60 :verbatim Keyword
     61 	*		verbatim1	save_c
     62 
     63 :verbatim1 Idle
     64 	*		verbatim1
     65 	&		end_verbatim	recolor=-1
     66 
     67 :end_verbatim Keyword
     68 	*		idle		noeat
     69 
     70 #:env_begin Keyword
     71 #	*		env_begin1	noeat
     72 
     73 #:env_begin1 Idle
     74 #	*		env_begin1
     75 #	"{"		env_begin_brace	recolor=-1
     76 
     77 #:env_begin_brace Brace
     78 #	*		env_begin_name	noeat buffer
     79 
     80 #:env_begin_name Bad
     81 #	*		env_begin_name
     82 #	"}"		idle		noeat