about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2022-12-27 11:31:49 +0900
committerOliver Kiddle <opk@zsh.org>2022-12-31 14:16:18 +0100
commit1ff0f12a9a66776af4c0412bfd9369ba646eb53d (patch)
treed71d45d3421044ce90457c97bd970b291095f4ae /Completion
parent4f1544a6287d2b1c14730826ac9a5822ea928b7c (diff)
downloadzsh-1ff0f12a9a66776af4c0412bfd9369ba646eb53d.tar.gz
zsh-1ff0f12a9a66776af4c0412bfd9369ba646eb53d.tar.xz
zsh-1ff0f12a9a66776af4c0412bfd9369ba646eb53d.zip
51253: Update ruby completion for version 3.2.0
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_ruby27
1 files changed, 17 insertions, 10 deletions
diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby
index 0e1f5dbc0..9b182693f 100644
--- a/Completion/Unix/Command/_ruby
+++ b/Completion/Unix/Command/_ruby
@@ -40,20 +40,27 @@ opts=(
   '(-v)--verbose[turn on verbose mode and disable script from stdin]'
   '-x-[strip off text before #!ruby line and perhaps cd to directory]:directory:_files -/'
   '(1 * -)--copyright[print the copyright]'
-  --{en,dis}'able=[enable or disable features]:feature:(gems did_you_mean rubyopt frozen_string_literal jit all)'
+  --{en,dis}'able=[enable or disable features]:feature:(gems error_highlight did_you_mean syntax_suggest rubyopt frozen_string_literal mjit yjit all)'
   \!--{en,dis}able-{gems,rubyopt,all}
-  '--dump=[dump debug information]:information:_sequence compadd - insns yydebug parsetree parsetree_with_comment'
+  '--dump=[dump debug information]:information:_sequence compadd - insns insns_without_opt yydebug parsetree parsetree_with_comment'
   --{external,internal}'-encoding=:charset:->charsets'
   '!'{-y,--yydebug}
   '!--dump=:target:(version copyright usage yydebug syntax parsetree parsetree_with_comment insns)'
-  '--jit[enable jit with default options]'
-  '--jit-warnings[enable printing JIT warnings]'
-  '--jit-debug[enable JIT debugging (very slow)]'
-  '--jit-wait[wait until JIT compilation finishes every time (for testing)]'
-  '--jit-save-temps[save JIT temporary files]'
-  '--jit-verbose=-[print JIT logs of level num or less to stderr]:maximum log level [0]'
-  '--jit-max-cache=-[specify max number of methods to be JIT-ed in a cache]:number [100]'
-  '--jit-min-calls=-[specify number of calls to trigger JIT]:calls [10000]'
+  '(--mjit --yjit)--jit[enable jit for the platform]'
+  '(--jit --yjit)--mjit[enable C compiler-based JIT compiler]'
+  '(--jit --mjit)--yjit[enable in-process JIT compiler]'
+  '--mjit-warnings[enable printing JIT warnings]'
+  '--mjit-debug[enable JIT debugging (very slow)]'
+  '--mjit-wait[wait until JIT compilation finishes every time (for testing)]'
+  '--mjit-save-temps[save JIT temporary files]'
+  '--mjit-verbose=-[print JIT logs of level num or less to stderr]:maximum log level [0]'
+  '--mjit-max-cache=-[specify max number of methods to be JIT-ed in a cache]:number [100]'
+  '--mjit-min-calls=-[specify number of calls to trigger JIT]:calls [10000]'
+  '--yjit-stat[enable collecting YJIT statistics]'
+  '--yjit-exec-mem-size=-[size of executable memory block in MiB]:mem size'
+  '--yjit-call-threshold=-[number of calls to trigger JIT]:number'
+  '--yjit-max-versions=-[maximum number of versions per basic block]:versions'
+  '--yjit-greedy-versioning[greedy versioning mode]'
 )
 
 irb=(