[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sh-mode highlight issue
From: |
Wayne Cuddy |
Subject: |
sh-mode highlight issue |
Date: |
Sat, 29 Jan 2022 19:51:53 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
I'm not sure if this has been reported before, please forgive me if
this is repetitious.
I'm running 9.8t and have not had a chance to upgrade to the
latest/greatest yet but I don't see mention of this issue being
corrected in the changelog. The closest I could find was comments from
9.7y:
+ improve vile-sh-filt for these cases:
+ "${number}"
+ "$(commands)"
+ "$((expression))"
+ "${name#value}", etc.
The issue concerns $((expression)) expansions in variable assignments,
but may not be limited to just this case.
var="prefix$((5*5))suffix"
prefix appears correctly highlighted, suffix does not, it seems the
syntax highlighting terminates after the final ')' character.
Wayne
- sh-mode highlight issue,
Wayne Cuddy <=