3

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.

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.