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:
committed by
Yuan Fu
parent
47837adf8c
commit
61d7116520
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user