I'm using the Kate text editor and I like to keep my lines at around 80 characters.
For LaTeX, I enable dynamic word wrapping (or sometimes hard wrapping), which makes writing much more readable.
However, when I write Python code, automatic line wrapping breaks the code, since Python is sensitive to line breaks and indentation.
What I would like is:
Line wrapping enabled for LaTeX files (
.tex)Line wrapping disabled for Python files (
.py)
Is there a way in Kate to configure word wrap per file type or per syntax highlighting mode?
If not, what would be the recommended workflow to handle this situation?
I'm using Kate on Linux with the Finnish UI, so menu names may differ slightly.