Pistos / diakonos

Diakonos is a console text editor for the masses.
https://git.sr.ht/~pistos/diakonos
Other
137 stars 11 forks source link

Improve Python syntax highlighting with triple-quoted strings #63

Closed ikrase closed 9 years ago

ikrase commented 9 years ago

Currently, the Python syntax highlighter, at least as the default conf file defines it, does not highlight triple-quoted multiline strings such as docstrings. Since multiline comments in languages like C and Java work, this has to be possible, but I haven't been able to successfully enable it.

Can we have a Python triple-quoted string highlighter?

Pistos commented 9 years ago

You're right, it should be possible. I'll have a look.

Pistos commented 9 years ago

@ikrase Okay, try master (at f71cd480eaf6e).