branch: elpa/clojure-ts-mode commit 592f708d5d30d69b0a25d8a6625d1ae0d05c0cba Author: Bozhidar Batsov <bozhi...@batsov.dev> Commit: Bozhidar Batsov <bozhi...@batsov.dev>
Extend the font-locking documentation --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index c4fe2eee95..d583059fa8 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,14 @@ To highlight entire rich `comment` expression with the comment font face, set By default this is `nil`, so that anything within a `comment` expression is highlighted like regular clojure code. +> [!TIP] +> +> You can customize the exact level of font-locking via the variables +> `treesit-font-lock-level` (the default value is 3) and +> `treesit-font-lock-features-list`. Check [this +> section](https://www.gnu.org/software/emacs/manual/html_node/emacs/Parser_002dbased-Font-Lock.html) +> of the Emacs manual for more details. + ### Highlight markdown syntax in docstrings By default markdown syntax is highlighted in the docstrings using