]> git.eshelyaron.com Git - emacs.git/commit
Make $, : and @ "prefix characters" in ruby-mode
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 23 Feb 2016 00:27:49 +0000 (02:27 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 23 Feb 2016 00:28:40 +0000 (02:28 +0200)
commitc1ec7434c38a8ee59e7ce895fbfd317e133ad40e
tree6b5235438da190dff7c6f294fdef6e79fb12e83f
parente72a26e00981a508569a0856125061310a3f64ac
Make $, : and @ "prefix characters" in ruby-mode

* lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Change the
syntax classes of $, : and @ to "prefix character"
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00272.html).
(ruby-syntax-propertize): Undo that specifically for colons
followed by an opening paren or bracket.
(ruby-font-lock-keyword-beg-re): Include colon character.
(ruby-font-lock-keywords): Adjust the constants matcher for `:'
not being a symbol constituent anymore.
lisp/progmodes/ruby-mode.el