diff --git a/doc/katepart/development.docbook b/doc/katepart/development.docbook
--- a/doc/katepart/development.docbook
+++ b/doc/katepart/development.docbook
@@ -286,6 +286,15 @@
list elements contain a list of keywords. In
this case the keywords are class and const.
You can add as many lists as you need.
+Since &kde-frameworks; 5.53, a list can include keywords from another
+list or language/file, using the include element.
+## is used to separate the list name and the language
+definition name, in the same way as in the IncludeRules rule.
+This is useful to avoid duplicating keyword lists, if you need to include the keywords
+of another language/file. For example, the othername list
+contains the str keyword and all the keywords of the
+types list, which belongs to the ISO C++
+language.
The contexts element contains all contexts.
The first context is by default the start of the highlighting. There are
two rules in the context Normal Text, which match
@@ -300,12 +309,17 @@
<highlighting>
<list name="somename">
- <item> class </item>
- <item> const </item>
+ <item>class</item>
+ <item>const</item>
+ </list>
+ <list name="othername">
+ <item>str</item>
+ <include>types##ISO C++</include>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
<keyword attribute="Keyword" context="#stay" String="somename" />
+ <keyword attribute="Keyword" context="#stay" String="othername" />
<DetectChar attribute="String" context="string" char=""" />
</context>
<context attribute="String" lineEndContext="#stay" name="string" >