Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
ruby-block.el --- highlight matching block Copyright (C) 2007-2009 khiker Author: khiker <firstname.lastname@example.org> 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 220.127.116.11. Note: A ruby-mode.el is necessary to use this package.