Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add documentation for ruby_fold

Added documentation for how to use the ruby_fold variable to enable folding if foldmethod is set to anything other than "syntax".
  • Loading branch information...
commit 28b649850cda0f7061f02df065fc82c5256eab83 1 parent c61accb
@rolfb rolfb authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 doc/ft-ruby-syntax.txt
4 doc/ft-ruby-syntax.txt
@@ -34,5 +34,9 @@ as errors. This can be refined by defining "ruby_no_trail_space_error" and
"ruby_no_tab_space_error" which will ignore trailing whitespace and tabs after
spaces respectively.
+ :let ruby_fold = 1
+This will set the value |foldmethod| to "syntax" locally to the current buffer
+or window, which will enable syntax-based folding when editing Ruby filetypes.
Please sign in to comment.
Something went wrong with that request. Please try again.