Separate Kernel methods with required args from those without
This commit is contained in:
parent
771978259e
commit
5b77d81840
1 changed files with 4 additions and 13 deletions
|
@ -2069,25 +2069,14 @@ See `font-lock-syntax-table'.")
|
|||
ruby-font-lock-keyword-beg-re
|
||||
(regexp-opt
|
||||
'( ;; built-in methods on Kernel
|
||||
"abort"
|
||||
"at_exit"
|
||||
"autoload"
|
||||
"autoload?"
|
||||
"binding"
|
||||
"block_given?"
|
||||
"callcc"
|
||||
"caller"
|
||||
"catch"
|
||||
"eval"
|
||||
"exec"
|
||||
"exit"
|
||||
"exit!"
|
||||
"fork"
|
||||
"format"
|
||||
"global_variables"
|
||||
"lambda"
|
||||
"load"
|
||||
"local_variables"
|
||||
"loop"
|
||||
"open"
|
||||
"p"
|
||||
|
@ -2098,10 +2087,8 @@ See `font-lock-syntax-table'.")
|
|||
"puts"
|
||||
"require"
|
||||
"require_relative"
|
||||
"sleep"
|
||||
"spawn"
|
||||
"sprintf"
|
||||
"srand"
|
||||
"syscall"
|
||||
"system"
|
||||
"throw"
|
||||
|
@ -2140,10 +2127,14 @@ See `font-lock-syntax-table'.")
|
|||
"at_exit"
|
||||
"binding"
|
||||
"block_given?"
|
||||
"callcc"
|
||||
"caller"
|
||||
"exit"
|
||||
"exit!"
|
||||
"fail"
|
||||
"fork"
|
||||
"global_variables"
|
||||
"local_variables"
|
||||
"private"
|
||||
"protected"
|
||||
"public"
|
||||
|
|
Loading…
Add table
Reference in a new issue