mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 02:54:23 +01:00
More keywords for Ruby, disabled $global variables
This commit is contained in:
parent
b4d4027981
commit
40568ca3e3
15
ruby.jsf
15
ruby.jsf
@ -20,7 +20,7 @@
|
|||||||
=Symbol red
|
=Symbol red
|
||||||
=ProcArg #yellow
|
=ProcArg #yellow
|
||||||
=ClassMember fg_310 # brown
|
=ClassMember fg_310 # brown
|
||||||
=GlobalVar yellow
|
=GlobalVar #yellow
|
||||||
|
|
||||||
# Detect pod
|
# Detect pod
|
||||||
|
|
||||||
@ -344,6 +344,7 @@ done
|
|||||||
"begin" kw
|
"begin" kw
|
||||||
"break" kw
|
"break" kw
|
||||||
"case" kw
|
"case" kw
|
||||||
|
"catch" kw
|
||||||
"class" kw
|
"class" kw
|
||||||
"def" kw
|
"def" kw
|
||||||
"defined" kw
|
"defined" kw
|
||||||
@ -352,15 +353,22 @@ done
|
|||||||
"elsif" kw
|
"elsif" kw
|
||||||
"end" kw
|
"end" kw
|
||||||
"ensure" kw
|
"ensure" kw
|
||||||
|
"fail" kw
|
||||||
"false" kw
|
"false" kw
|
||||||
"for" kw
|
"for" kw
|
||||||
"if" kw
|
"if" kw
|
||||||
"in" kw
|
"in" kw
|
||||||
|
"lambda" kw
|
||||||
"module" kw
|
"module" kw
|
||||||
"next" kw
|
"next" kw
|
||||||
"nil" kw
|
"nil" kw
|
||||||
"not" kw
|
"not" kw
|
||||||
"or" kw
|
"or" kw
|
||||||
|
"private" kw
|
||||||
|
"proc" kw
|
||||||
|
"protected" kw
|
||||||
|
"public" kw
|
||||||
|
"raise" kw
|
||||||
"redo" kw
|
"redo" kw
|
||||||
"rescue" kw
|
"rescue" kw
|
||||||
"retry" kw
|
"retry" kw
|
||||||
@ -368,6 +376,7 @@ done
|
|||||||
"self" kw
|
"self" kw
|
||||||
"super" kw
|
"super" kw
|
||||||
"then" kw
|
"then" kw
|
||||||
|
"throw" kw
|
||||||
"true" kw
|
"true" kw
|
||||||
"undef" kw
|
"undef" kw
|
||||||
"unless" kw
|
"unless" kw
|
||||||
@ -377,12 +386,16 @@ done
|
|||||||
"yield" kw
|
"yield" kw
|
||||||
# quasi-keywords (Module or Kernel methods)
|
# quasi-keywords (Module or Kernel methods)
|
||||||
"require" kw
|
"require" kw
|
||||||
|
"autoload" kw
|
||||||
|
"load" kw
|
||||||
|
"extend" kw
|
||||||
"include" kw
|
"include" kw
|
||||||
"puts" kw
|
"puts" kw
|
||||||
"exit" kw
|
"exit" kw
|
||||||
"attr_accessor" kw
|
"attr_accessor" kw
|
||||||
"attr_reader" kw
|
"attr_reader" kw
|
||||||
"attr_writer" kw
|
"attr_writer" kw
|
||||||
|
"module_function" kw
|
||||||
done
|
done
|
||||||
"a-zA-Z0-9_" ident
|
"a-zA-Z0-9_" ident
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user