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

added types to highlighting

This commit is contained in:
Jonas Rosling 2012-07-24 22:12:33 +01:00
parent 8a6e01676a
commit 0499d90273

View File

@ -13,6 +13,7 @@
=Keyword bold =Keyword bold
=Guard fg_200 =Guard fg_200
=Bif fg_501 =Bif fg_501
=Type fg_141
=Brace fg_440 =Brace fg_440
=Brack fg_311 =Brack fg_311
@ -217,10 +218,18 @@ done
" " bif " " bif
"(" idle noeat "(" idle noeat
:type Type
* idle recolormark noeat
"(" idle noeat
":" module recolormark noeat
:quoted_atom Idle :quoted_atom Idle
* quoted_atom * quoted_atom
"'" idle "'" idle
# This implementation is sort of funky.
# Most of the cases it's correct but some highlighting may be wrong.
# Should be looked over...
:atom Idle :atom Idle
* no_atom noeat strings * no_atom noeat strings
"after" kw "after" kw
@ -251,6 +260,35 @@ done
"try" kw "try" kw
"when" kw "when" kw
"xor" kw "xor" kw
"any" type
"none" type
"pid" type
"port" type
"reference" type
"float" type
"atom" type
"binary" type
"integer" type
"list" type
"improper_list" type
"maybe_improper_list" type
"tuple" type
"term" type
"boolean" type
"byte" type
"char" type
"non_neg_integer" type
"pos_integer" type
"neg_integer" type
"number" type
"string" type
"nonempty_string" type
"iolist" type
"module" type
"mfa" type
#interfears with the bif "node" type
"timeout" type
"no_return" type
"badarg" rterr "badarg" rterr
"badarith" rterr "badarith" rterr
"badmatch" rterr "badmatch" rterr