In-document highlighting hint for Kate

1

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?

fuenfundachtzig

Posted 2017-02-13T13:02:02.127

Reputation: 547

Answers

1

This is called a modeline. Kate has support for this. E.g. you can add this to your file:

# kate: syntax python;

See here, here or here for some documentation.

Albert

Posted 2017-02-13T13:02:02.127

Reputation: 5 059