Skip to content

adolfosousa/ruby-block.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

ruby-block.el --- highlight matching block

Copyright (C) 2007-2009  khiker

Author: khiker <[email protected]>
Keywords: languages, faces, ruby

This file is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

This file is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.

 Commentary:

 Usage:

Add this line to your .emacs

(require 'ruby-block)
(ruby-block-mode t)

In addition, you can also add this line too.

;; do overlay
(setq ruby-block-highlight-toggle 'overlay)
;; display to minibuffer
(setq ruby-block-highlight-toggle 'minibuffer)
;; display to minibuffer and do overlay
(setq ruby-block-highlight-toggle t)

Default is minibuffer.

Tested on Emacs 22.3.2 and Emacs 23.0.95.2.

 Note:

A ruby-mode.el is necessary to use this package.

Releases

No releases published

Packages

No packages published