From: Jackson Ray Hamilton Date: Sat, 14 Mar 2015 18:39:42 +0000 (-0700) Subject: Update options documentation. X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/4849fd4f4d09af8d3cf2e7cf52408d98c21f8bf7 Update options documentation. --- diff --git a/README.md b/README.md index 2341c4943..7eeacf756 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,20 @@ Add the following to your `~/.emacs` file: ## Customizing +### Options + +- `context-coloring-syntactic-comments` (default: `t`): If non-nil, also color + comments using `font-lock`. +- `context-coloring-syntactic-strings` (default: `t`): If non-nil, also color + strings using `font-lock`. +- `context-coloring-delay` (default: `0.25`; supported modes: `js-mode`, + `js3-mode`): Delay between a buffer update and colorization. +- `context-coloring-js-block-scopes` (default: `nil`; supported modes: + `js2-mode`): If non-nil, also color block scopes in the scope hierarchy in + JavaScript. + +### Color Schemes + Color schemes for custom themes are automatically applied when those themes are active. Built-in theme support is available for: `ample`, `anti-zenburn`, `grandshell`, `leuven`, `monokai`, `solarized`, `spacegray`, `tango` and diff --git a/context-coloring.el b/context-coloring.el index 1453f48a0..cb6422715 100644 --- a/context-coloring.el +++ b/context-coloring.el @@ -147,7 +147,7 @@ the END point (exclusive) with the face corresponding to LEVEL." :group 'context-coloring) (defcustom context-coloring-syntactic-strings t - "If non-nil, also color comments using `font-lock'." + "If non-nil, also color strings using `font-lock'." :group 'context-coloring) (defun context-coloring-font-lock-syntactic-comment-function (state)