GNU ELPA - highlight-escape-sequences


Highlight escape sequences
highlight-escape-sequences-0.4.el, 2018-Oct-15, 9.15 KiB
Home page
Browse ELPA's repository
CGit or Gitweb

To install this package, run in Emacs:

M-x package-install RET highlight-escape-sequences RET

Full description

This global minor mode highlights escape sequences in strings and
other kinds of literals with `hes-escape-sequence-face' and with
`hes-escape-backslash-face'. They inherit from faces
`font-lock-regexp-grouping-construct' and
`font-lock-regexp-grouping-backslash' by default, respectively.

It currently supports `ruby-mode', `emacs-lisp-mode', JS escape
sequences in both popular modes, C escapes is `c-mode', `c++-mode',
`objc-mode' and `go-mode',
and Java escapes in `java-mode' and `clojure-mode'.

To enable it elsewhere, customize `hes-mode-alist'.

Put this in the init file:


Old versions

highlight-escape-sequences-0.3.el2016-Oct-298.93 KiB