I normally use indirect buffers while I edit python code in python-mode, I create them by running clone-indirect-buffer-other-window
. While the syntax highlighting of the main buffer looks just fine, sometimes it is wrong in the indirect one. Specifically, it seems like some closing quotes are ignored adn so big chunks of my code are coloured as if they were part of long literal string.
I have not found references of this elsewhere, and have not clue why it could be happening. Does anybody know why this is and/or how to solve it?
This question could be related, be he does not mention indirect buffers (I only have this problem with those), and also my indirect buffer do not refresh to proper syntax highlighting even if a wait several minutes.