mirror of
https://github.com/cmur2/joe-syntax.git
synced 2025-01-24 03:27:03 +01:00
added some support for edoc
This commit is contained in:
parent
685fcbb268
commit
e797879412
32
erlang.jsf
32
erlang.jsf
@ -2,6 +2,7 @@
|
||||
|
||||
=Idle
|
||||
=Comment fg_030
|
||||
=Edoc fg_033
|
||||
=String fg_110
|
||||
=String_mod fg_200 bold
|
||||
=String_esc fg_000 bold
|
||||
@ -32,8 +33,38 @@
|
||||
|
||||
:line_comment Comment
|
||||
* line_comment
|
||||
"@" is_edoc noeat buffer
|
||||
"\n" idle
|
||||
|
||||
:is_edoc Comment
|
||||
* line_comment noeat strings
|
||||
"@clear" edoc
|
||||
"@docfile" edoc
|
||||
"@headerfle" edoc
|
||||
"@todo" edoc
|
||||
"@TODO" edoc
|
||||
"@type" edoc
|
||||
"@reference" edoc
|
||||
"@see" edoc
|
||||
"@since" edoc
|
||||
"@deprecated" edoc
|
||||
"@hidden" edoc
|
||||
"@private" edoc
|
||||
"@equiv" edoc
|
||||
"@throws" edoc
|
||||
"@author" edoc
|
||||
"@copyright" edoc
|
||||
"@version" edoc
|
||||
"@title" edoc
|
||||
"@spec" edoc
|
||||
"@doc" edoc
|
||||
"@end" edoc
|
||||
done
|
||||
"a-z@" is_edoc
|
||||
|
||||
:edoc Keyword
|
||||
* line_comment noeat
|
||||
|
||||
:variable Variable
|
||||
* idle noeat
|
||||
"a-zA-Z0-9_" variable
|
||||
@ -95,7 +126,6 @@
|
||||
:maybe_attribute Idle
|
||||
* idle noeat
|
||||
"a-z_" maybe_attribute
|
||||
" " maybe_attribute
|
||||
"(." attribute recolormark noeat
|
||||
|
||||
:attribute Attribute
|
||||
|
Loading…
x
Reference in New Issue
Block a user