You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Here's an example of code that makes my editor show the rest of the script in red:
if [[ -n${COUNTRIES}&&-z${EXCLUDE_COUNTRIES} ]];then
IFS=', 'read -a countries_list <<<$COUNTRIESforiin${countries_list[@]};doif! grep $i${_cm};then
logerror "Country code $i does not exist."&&return${C_ERROR}fidonefi
Starting with line after the one with <<<, the rest of the file is shown in single red color. Screenshot link
Expected behavior: syntax highlighting should not get confused by <<<
Actual behavior: all the rest of the file contents are shown in single red color
Reproduces how often: every time here-string exists in Shell-script that I'm editing
Description
here-string <<< breaks Shell syntax highlighting
Steps to Reproduce
Here's an example of code that makes my editor show the rest of the script in red:
Starting with line after the one with
<<<
, the rest of the file is shown in single red color.Screenshot link
Expected behavior: syntax highlighting should not get confused by <<<
Actual behavior: all the rest of the file contents are shown in single red color
Reproduces how often: every time here-string exists in Shell-script that I'm editing
Versions
OS is MacOS Sierra 10.12.6
The text was updated successfully, but these errors were encountered: