Speaking of filedefs, has anyone had a chance to look at the suite of new properties the shell lexer acquired in recent versions? Most of them are for embedded variables, for example inside here docs:
The command substitution preference also became a set of enumerated options:
lexer.bash.command.substitution | Set how to highlight $() command substitution. 0 (the default) highlighted as backticks. 1 highlighted inside. 2 highlighted inside with extra scope tracking. |
lexer.bash.nested.backticks | Set this property to 0 to disable nested backquoted command substitution. |
lexer.bash.styling.inside.backticks | Set this property to 1 to highlight shell expansions inside backticks. |
lexer.bash.styling.inside.heredoc | Set this property to 1 to highlight shell expansions inside here document. |
lexer.bash.styling.inside.parameter | Set this property to 1 to highlight shell expansions inside ${} parameter expansion. |
lexer.bash.styling.inside.string | Set this property to 1 to highlight shell expansions inside string. |
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.