1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 00:10:48 -08:00

Better command subst fontification in bash-ts-mode (bug#78567)

* lisp/progmodes/sh-script.el (sh-mode--treesit-settings):
fontify command-substition command only.  Don't include
enclosing brackets.
This commit is contained in:
Jostein Kjønigsen 2025-05-05 22:29:37 +02:00 committed by Yuan Fu
parent 47837adf8c
commit 61d7116520
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -3321,7 +3321,7 @@ See `sh-mode--treesit-other-keywords' and
:feature 'string-interpolation
:language 'bash
:override t
'((command_substitution) @sh-quoted-exec
'((command_substitution (command) @sh-quoted-exec)
(expansion (variable_name) @font-lock-variable-use-face)
(expansion ["${" "}"] @font-lock-bracket-face)
(simple_expansion