Yilkal Argaw writes: > I don't know exactly how to explain it but emacs comments most of a > script if the script contains too many long strings. As an example > look at the syntax highlighting of the script at > https://gitlab.com/uppercat/tlbx/-/raw/master/tlbx and compare the > syntax highlighting for it in vim and emacs. You don't say what Emacs version this is with, or which parts you think Emacs is displaying wrong. Is it the heredoc thing that's wrong, or something else in addition?