you need to replace the settings for shell bash.
currently shows incorrect colors.
My ver 3.2.2 build 3211 x64
need in the file :
ShellScript.sublime-package / Bash.sublime-syntax
to replace it:
comment:
- match: (?:^\s*|\s+)(\#)
- match: \n
on this:
comment:
- match: (?:^\s*|\s+)(\#)
- match: $
and to replace it:
- match: \blet\b
scope: support.function.let.bash
push:
- meta_scope: meta.function-call.shell
- match: $
on this:
- match: \blet\b
scope: support.function.let.bash
push:
- meta_scope: meta.function-call.shell
- match: $|\;
there may still be problems, I need to check other lines, but I only found 2 problem lines
here is an example before and after the fix: