emacs-devel
[Top][All Lists]
Advanced

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

Re: Implementation direction for shell-script-mode with tree-sitter


From: Po Lu
Subject: Re: Implementation direction for shell-script-mode with tree-sitter
Date: Thu, 27 Oct 2022 08:54:01 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

João Paulo Labegalini de Carvalho <jaopaulolc@gmail.com> writes:

> That is a very good point and that is the reason why I am pursuing an
> implementation that reuses the work from the existing fontification
> code.

Some shells, such as csh, are very syntactically different from
bash.

> My goal is to use the `sh-feature' function to retrieve everything
> that needs to be fontified for the buffer's shell variant.

So won't you end up, in effect, reproducing the existing font-lock code?


reply via email to

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