In geany .sh file have a syntax highlighting that's not quite good, compared i.e. to other editors like sublime. In particular when you have $(...) things inside the parenthesis are all colored in red.
Geany version: 1.31
Color combination: default
GTK version: 2.24.31
O.S.: Ubuntu 17.10
filetype: .sh
If you don't like the colours you can choose another colour scheme from those contributed by others or make your own.
@elextr I think @surveyor3 is complaining that the syntax inside of $() is not highlighted specifically, but only as a single $() block. In shell, $() is a command substitution, so the content inside it could be highlighted as normal syntax.
This is a Scintilla lexer limitation, see https://sourceforge.net/p/scintilla/feature-requests/1033/
In shell, $() is a command substitution, so the content inside it could be highlighted as normal syntax.
Oh, I thought it was just the orange that was the problem, ok.
Yes, it's not about the color itself but is about the thing that inside is all highlighted with the same color and it's not correct.
I did a screenshot to show you the issue.

Thanks for the attention and for all the good work in Geany.
I posted a PR in the scintilla project to fix this, see https://sourceforge.net/p/scintilla/code/merge-requests/22.
Most helpful comment
@elextr I think @surveyor3 is complaining that the syntax inside of
$()is not highlighted specifically, but only as a single$()block. In shell,$()is a command substitution, so the content inside it could be highlighted as normal syntax.This is a Scintilla lexer limitation, see https://sourceforge.net/p/scintilla/feature-requests/1033/