1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 02:54:23 +01:00

Merge branch 'master' of github.com:cmur2/joe-syntax

This commit is contained in:
cn 2012-02-25 15:38:36 +01:00
commit 55d1d3bf83
3 changed files with 39 additions and 10 deletions

View File

@ -57,7 +57,7 @@
TeX
*.tex
-wordwrap
-wordwrap
-syntax tex
-tex_comment
-no_double_quoted

View File

@ -457,7 +457,7 @@ done
:pstring Idle
* match noeat
" \t" after_term noeat
"xrqQw" match
"xrqQwW" match
.ifdef erb
">" NULL recolor=-2 return
.endif

45
tex.jsf
View File

@ -7,6 +7,7 @@
=Mathmode cyan
=Brace magenta
=Parameter bold blue
=Bad bold red
:idle Idle
* idle
@ -28,14 +29,6 @@
"{[]}" math_brace recolor=-1
"$" idle
:command Keyword
* idle
"a-zA-Z@" command2
:command2 Keyword
* idle noeat
"a-zA-Z@" command2
:math_command Keyword
* math
"a-zA-Z@" math_command2
@ -54,6 +47,42 @@
:math_brace Brace
* math noeat
:command Keyword
* idle
"a-zA-Z@" command2 buffer
:command2 Keyword
* idle noeat strings
# "begin" env_begin
"verb" verbatim
done
"a-zA-Z@" command2
:verbatim Keyword
* verbatim1 save_c
:verbatim1 Idle
* verbatim1
& end_verbatim recolor=-1
:end_verbatim Keyword
* idle noeat
#:env_begin Keyword
# * env_begin1 noeat
#:env_begin1 Idle
# * env_begin1
# "{" env_begin_brace recolor=-1
#:env_begin_brace Brace
# * env_begin_name noeat buffer
#:env_begin_name Bad
# * env_begin_name
# "}" idle noeat
.subr comment_todo
# initial state
:comment_todo_init Comment