Home Download Buy Blog Forum Support

Syntax Highlighting for Bash broken

Syntax Highlighting for Bash broken

Postby tabas on Sun Feb 26, 2012 5:14 pm

Hi,

the double quote between the two braces }"} leads to the problem, that the syntax highlighting fails for the rest of the code!

Code: Select all
#!/bin/sh

# some stuff here...
foobar() {
    echo "this is correct"
}

foo "$1" ${bar:+xyz "${bar}"} 2>&1 /dev/null

# no correct syntax highlighting anymore...
foobar2() {
    echo "this is not correct :("
}


Cheers,
tabas
tabas
 
Posts: 1
Joined: Sun Feb 26, 2012 4:05 pm

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 39 guests

cron