bug-bash
[Top][All Lists]
Advanced

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

Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generate


From: Koichi Murase
Subject: Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generated by `fc`
Date: Sat, 21 Sep 2024 08:20:53 +0900

2024年9月21日(土) 1:09 Chet Ramey <chet.ramey@case.edu>:
> On 9/20/24 2:41 AM, shynur . wrote:
> > `fc` will create a temporary file named something
> > like "bash-fc.Esf9by", which seldom benefits from
> > editors that use *suffixes* to infer what syntax
> > highlighting should be enabled.
>
> Do these editors have an option that sets the language for syntax checking?

Emacs has `auto-mode-alist'. VS Code has `files.associations'.



reply via email to

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