Home Download Buy Blog Forum Support

Bash syntax hightlighting error

Bash syntax hightlighting error

Postby sajohn2 on Mon Mar 17, 2014 6:26 pm

There is a problem with syntax hightlighting using "Shell Script (Bash)". The following reproduces the error:

Code: Select all
MESSAGE="$((module load mymodule) 2>&1)"

echo "This is always highlighted yellow now, as if it is part of a string"

It seems like the second close paren does not close the $(...). Everything under the "MESSAGE" line no longer has correct syntax highlighting in SublimeText. This is working bash code.

Posts: 1
Joined: Mon Mar 17, 2014 6:17 pm

Return to Technical Support

Who is online

Users browsing this forum: markbrannan and 15 guests