256e8e21e1
RainbowDelimiters is a "rainbow parentheses"-like mode for emacs which highlights parens, brackets, and braces according to their depth. Each successive level is highlighted a different color. This makes it easy to spot matching delimiters, orient yourself in the code, and tell which statements are at the same depth.
21 lines
643 B
Text
21 lines
643 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1 2014/04/20 19:05:08 wiz Exp $
|
|
|
|
You will need to add something like the following to your .emacs file to
|
|
autoload the mode for Emacs.
|
|
|
|
(require 'rainbow-delimiters)
|
|
|
|
To use only with specific modes, add lines like the following:
|
|
|
|
(add-hook 'clojure-mode-hook 'rainbow-delimiters-mode)
|
|
|
|
To enable in all programming-related modes (Emacs 24+):
|
|
|
|
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
|
|
|
|
To use Emacs-wide, add this line:
|
|
|
|
(global-rainbow-delimiters-mode)
|
|
|
|
===========================================================================
|