highlight-escape-sequences 
- Description
- Highlight escape sequences
- Latest
- highlight-escape-sequences-0.4.0.20201214.2.tar (.sig), 2026-Aug-16, 40.0 KiB
- Maintainer
- Dmitry Gutov <dgutov@yandex.ru>
- Pavel Matcula <dev.plvlml@gmail.com>
- Other versions:
- release version
- Website
- https://github.com/dgutov/highlight-escape-sequences
- ELPA's Repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install or list-packages.
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: (hes-mode)