bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52496: syntax highlighting problem on emacs shell-script mode


From: Lars Ingebrigtsen
Subject: bug#52496: syntax highlighting problem on emacs shell-script mode
Date: Sun, 19 Dec 2021 13:54:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Yilkal Argaw <yilkalargawworkneh@gmail.com> 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?

PNG image

It seems like sh-mode isn't interpreting that "@" as the end of the
heredoc.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]