Skip to content

Commit 592f708

Browse files
committedMar 7, 2025
Extend the font-locking documentation
1 parent 88fc10f commit 592f708

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎README.md

+8
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,14 @@ To highlight entire rich `comment` expression with the comment font face, set
163163
By default this is `nil`, so that anything within a `comment` expression is
164164
highlighted like regular clojure code.
165165

166+
> [!TIP]
167+
>
168+
> You can customize the exact level of font-locking via the variables
169+
> `treesit-font-lock-level` (the default value is 3) and
170+
> `treesit-font-lock-features-list`. Check [this
171+
> section](https://www.gnu.org/software/emacs/manual/html_node/emacs/Parser_002dbased-Font-Lock.html)
172+
> of the Emacs manual for more details.
173+
166174
### Highlight markdown syntax in docstrings
167175

168176
By default markdown syntax is highlighted in the docstrings using

0 commit comments

Comments
 (0)
Please sign in to comment.