colorer / Colorer-schemes

Syntax and color schemes for colorer library
31 stars 25 forks source link

Problem with << operator in sh script #95

Closed PavelK115 closed 9 months ago

PavelK115 commented 4 years ago

Hi, I found that colorer in Far editor has problem to recognize << (left shift operator) in sh script. This operator is allowed in arithmetic evaluation. For example in the file test.sh containing

echo Hello X=$(( 31>>3 )) # right shift operator is ok X=$(( 1<<3 )) # left shift operator confuses colorer echo X=${X}

the rest of the file after << is not recognized by the colorer.

ctapmex commented 9 months ago

fixed in https://github.com/colorer/Colorer-schemes/releases/tag/v1.2.0.36