Is there a way to modify sh-mode
to highlight variables inside a double parentheses construct when not using the dollar sign prefix?
For example I want the i
to be highlighted in ((i++))
without the need of writing $i
.
Asked
Active
Viewed 46 times
4

Carl Smedstad
- 41
- 2
-
My first impression is that this would require a re-write of `sh-syntax-propertize-function`. Note, that `((...))` can be a multiline-expression. – Tobias Dec 24 '16 at 21:34