Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zk-phi/highlight-stages
Highlight staged (quasi-quoted) expressions
https://github.com/zk-phi/highlight-stages
emacs
Last synced: 3 days ago
JSON representation
Highlight staged (quasi-quoted) expressions
- Host: GitHub
- URL: https://github.com/zk-phi/highlight-stages
- Owner: zk-phi
- Created: 2014-09-08T14:57:31.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-03-06T04:18:37.000Z (over 3 years ago)
- Last Synced: 2024-08-05T06:06:03.022Z (3 months ago)
- Topics: emacs
- Language: Emacs Lisp
- Homepage:
- Size: 146 KB
- Stars: 21
- Watchers: 5
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: Readme.org
Awesome Lists containing this project
README
* highlight-stages.el
準クォートをハイライト
Highlight staged (quasi-quoted) expressions.
** Screenshot
*** Lisp.[[screenshot.png]]
We can easily recognize what are evaluated now and what are quoted for
later evaluation.*** MetaOCaml.
[[screenshot2.png]]
*** C/C++
[[screenshot3.png]]
** Installation
Require this script
: (require 'highlight-stages)
and call function "highlight-stages-mode"
: (add-hook 'emacs-lisp-mode-hook 'highlight-stages-mode)
If you want to enable "highlight-stages-mode" (almost) everywhere,
call "highlight-stages-global-mode" instead.: (highlight-stages-global-mode 1)
** Supported Languages
Lisp-like languages, MetaOCaml, and C/C++ preprocessors.
** Customizations
5 faces
- =highlight-stages-negative-level-face=
- =highlight-stages-level-1-face=
- =highlight-stages-level-2-face=
- =highlight-stages-level-3-face=
- =highlight-stages-higher-level-face=are all customizable.
When =highlight-stages-highlight-real-quote= is non-nil, not only
quasi-quotes(`) but also "real" quotes(') are highlighted.