mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
add some more keyword-like methods. http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
This commit is contained in:
parent
c9509ef465
commit
12adebe94e
2 changed files with 21 additions and 2 deletions
|
|
@ -1735,7 +1735,6 @@ See `font-lock-syntax-table'.")
|
|||
"begin"
|
||||
"break"
|
||||
"case"
|
||||
"catch"
|
||||
"class"
|
||||
"def"
|
||||
"defined?"
|
||||
|
|
@ -1770,14 +1769,28 @@ See `font-lock-syntax-table'.")
|
|||
(regexp-opt
|
||||
'("alias_method"
|
||||
"autoload"
|
||||
"attr"
|
||||
"attr_accessor"
|
||||
"attr_reader"
|
||||
"attr_writer"
|
||||
"catch"
|
||||
"define_method"
|
||||
"extend"
|
||||
"fail"
|
||||
"include"
|
||||
"lambda"
|
||||
"loop"
|
||||
"module_function"
|
||||
"private"
|
||||
"proc"
|
||||
"protected"
|
||||
"public"
|
||||
"raise"
|
||||
"refine"
|
||||
"require"
|
||||
"require_relative"
|
||||
"throw")
|
||||
"throw"
|
||||
"using")
|
||||
'symbols)
|
||||
"\\)")
|
||||
2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue