summaryrefslogtreecommitdiff
path: root/lib/irb.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-07-15 01:07:37 +0900
committeraycabta <aycabta@gmail.com>2019-07-15 01:07:37 +0900
commit6d573691058b353840c504d16cc2df1eb0bb517c (patch)
tree4bb283c7fd14e5d6b8d8d5426eff3fcddaac5782 /lib/irb.rb
parent82b058ff6067269c04265844c7df08a2971b0335 (diff)
Auto indent in IRB is enabled by default
Diffstat (limited to 'lib/irb.rb')
-rw-r--r--lib/irb.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/irb.rb b/lib/irb.rb
index caccb2b..e0e4b1a 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -110,9 +110,9 @@ require "irb/version"
#
# === Auto indentation
#
-# To enable auto-indent mode in irb, add the following to your +.irbrc+:
+# To disable auto-indent mode in irb, add the following to your +.irbrc+:
#
-# IRB.conf[:AUTO_INDENT] = true
+# IRB.conf[:AUTO_INDENT] = false
#
# === Autocompletion
#
@@ -141,7 +141,7 @@ require "irb/version"
# This example can be used in your +.irbrc+
#
# IRB.conf[:PROMPT][:MY_PROMPT] = { # name of prompt mode
-# :AUTO_INDENT => true, # enables auto-indent mode
+# :AUTO_INDENT => false, # disables auto-indent mode
# :PROMPT_I => ">> ", # simple prompt
# :PROMPT_S => nil, # prompt for continuated strings
# :PROMPT_C => nil, # prompt for continuated statement