From 806ff7412735cc554d9fd79e550466e7ba9d0f2a Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 26 Nov 1999 09:07:26 +0000 Subject: mark_end_proc git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'misc') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 41fd1f66f..d5dd137af 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -663,7 +663,6 @@ An end of a defun is found by moving forward from the beginning of one." "return" "then" "throw" - "self" "super" "unless" "undef" @@ -675,8 +674,8 @@ An end of a defun is found by moving forward from the beginning of one." "\\)\\>[^_]") 2) ;; variables - '("\\b\\(nil\\|self\\|true\\|false\\)\\b" - 1 font-lock-variable-name-face) + '("\\(^\\|[^_:.@$]\\|\\.\\.\\)\\b\\(nil\\|self\\|true\\|false\\)\\b[^_]" + 2 font-lock-variable-name-face) ;; variables '("[$@].\\(\\w\\|_\\)*" 0 font-lock-variable-name-face) -- cgit