File: ruby-mode.el.html
Provides font-locking, indentation support, and navigation for Ruby code.
Still needs more docstrings; search below for TODO.
Defined variables (58)
ruby--prettify-symbols-alist | Value for ‘prettify-symbols-alist’ in ‘ruby-mode’. |
ruby-after-operator-indent | Non-nil to use structural indentation after binary operators. |
ruby-align-chained-calls | If non-nil, align chained method calls. |
ruby-align-to-stmt-keywords | Keywords after which we align the expression body to statement. |
ruby-alignable-keywords | Keywords that can be used in ‘ruby-align-to-stmt-keywords’. |
ruby-base-mode-abbrev-table | Abbrev table for ‘ruby-base-mode’. |
ruby-base-mode-hook | Hook run after entering ‘ruby-base-mode’. |
ruby-base-mode-map | Keymap for ‘ruby-base-mode’. |
ruby-base-mode-syntax-table | Syntax table for ‘ruby-base-mode’. |
ruby-block-beg-keywords | Keywords at the beginning of blocks. |
ruby-block-beg-re | Regexp to match the beginning of blocks. |
ruby-block-hanging-re | Regexp to match hanging block modifiers. |
ruby-block-indent | Non-nil to align the body of a block to the statement’s start. |
ruby-block-mid-keywords | Keywords where the indentation gets shallower in middle of block statements. |
ruby-block-mid-re | Regexp for where the indentation gets shallower in middle of block statements. |
ruby-block-op-keywords | Regexp to match boolean keywords. |
ruby-bracketed-args-indent | Non-nil to align the contents of bracketed arguments with the brackets. |
ruby-builtin-methods-no-reqs | List of built-in methods that only have optional arguments. |
ruby-builtin-methods-with-reqs | List of built-in methods that require at least one argument. |
ruby-comment-column | Indentation column of comments. |
ruby-custom-encoding-magic-comment-template | A custom encoding comment template. |
ruby-deep-arglist | Deep indent lists in parenthesis when non-nil. |
ruby-deep-indent-paren | Deep indent lists in parenthesis when non-nil. |
ruby-deep-indent-paren-style | Default deep indent style. |
ruby-defun-beg-re | Regexp to match the beginning of a defun, in the general sense. |
ruby-encoding-magic-comment-style | The style of the magic encoding comment to use. |
ruby-encoding-map | Alist to map encoding name from Emacs to Ruby. |
ruby-endless-method-head-re | Regexp to match the beginning of an endless method definition. |
ruby-flymake-use-rubocop-if-available | Non-nil to use the RuboCop Flymake backend. |
ruby-font-lock-keywords | Additional expressions to highlight in Ruby mode. |
ruby-here-doc-beg-re | Regexp to match the beginning of a heredoc. |
ruby-indent-beg-re | Regexp to match where the indentation gets deeper. |
ruby-indent-level | Number of spaces for each indentation step in ‘ruby-mode’. |
ruby-indent-tabs-mode | Indentation can insert tabs in Ruby mode if this is non-nil. |
ruby-insert-encoding-magic-comment | Insert a magic Ruby encoding comment upon save if this is non-nil. |
ruby-method-call-indent | Non-nil to use the structural indentation algorithm. |
ruby-method-params-indent | Indentation of multiline method parameters. |
ruby-mode-abbrev-table | Abbrev table for ‘ruby-mode’. |
ruby-mode-hook | Hook run after entering ‘ruby-mode’. |
ruby-mode-map | Keymap used in Ruby mode. |
ruby-mode-menu | Ruby Mode Menu. |
ruby-mode-syntax-table | Syntax table to use in Ruby mode. |
ruby-modifier-beg-keywords | Modifiers that are the same as the beginning of blocks. |
ruby-modifier-beg-re | Regexp to match modifiers same as the beginning of blocks. |
ruby-modifier-re | Regexp to match modifiers. |
ruby-negative | Regexp to match where the indentation gets shallower. |
ruby-non-block-do-re | Regexp to match keywords that nest without blocks. |
ruby-operator-re | Regexp to match operators. |
ruby-parenless-call-arguments-indent | Non-nil to align arguments in a parenless call vertically. |
ruby-percent-literal-beg-re | Regexp to match the beginning of percent literal. |
ruby-rubocop-config | Configuration file for ‘ruby-flymake-rubocop’. |
ruby-rubocop-use-bundler | Non-nil with allow ‘ruby-flymake-rubocop’ to use ‘bundle exec’. |
ruby-singleton-class-re | Regexp to match the beginning of a singleton class context. |
ruby-symbol-chars | List of characters that symbol names may contain. |
ruby-symbol-re | Regexp to match symbols. |
ruby-syntax-before-regexp-re | Regexp to match text that disambiguates a regular expression. |
ruby-toggle-block-space-before-parameters | When non-nil, ensure space between the "toggled" curly and parameters. |
ruby-use-encoding-map | Use ‘ruby-encoding-map’ to set encoding magic comment if this is non-nil. |