Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is it possible to provide a hint for Kate which highlighting to use for a given document (inside the document itself) so that I don't have to set it manually? If so, in which syntax?
This is called a modeline. Kate has support for this. E.g. you can add this to your file:
# kate: syntax python;
for some documentation.
Required, but never shown
1 year, 11 months ago
1 year, 5 months ago