aboutsummaryrefslogtreecommitdiffstats
path: root/test/indent/ruby.rb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/progmodes/ruby-mode.el (ruby-syntax-methods-before-regexp): New const.Dmitry Gutov2012-08-141-11/+19
| | | | | | | | (ruby-syntax-propertize-function): Use it to recognize regexps. Don't look at the text after regexp, just use the whitelist. * test/indent/ruby.rb: Rearrange examples, add new ones. Fixes: debbugs:6286
* * lisp/progmodes/ruby-mode.el: Simplify last change, and cleanup code.Stefan Monnier2012-04-241-0/+19
(ruby-syntax-propertize-regexp): Remove. (ruby-syntax-propertize-function): Split regexp into chunks. Match following code directly. * test/indent/ruby.rb: New file, to test new syntax-propertize code.