Editor does not color tcsh correctly


The editor seems confused by cat -<<EOF> statements in tcsh. In my script, everything looks fine in the editor up to that point. Then:

Everything below that (~600 more lines, including more cat -<<EOF> statements) is green.

This seems like a bug to me, but I’d be happy to learn of a workaround too.


What language package is active there? You can see the active language by looking at the bottom right-hand corner of the Atom window.


Shell Script


Perhaps you should look into another grammar.
How about…

Shell script language support in Atom.
Fork of language-shellscript, with extra support for common Unix commands.



This is what that line looks like from the DOM side:

I’m not familiar with heredoc so I can’t explain why <<EOF> matches it.


On my list to look at. In the future it would help if you additionally provided a text version for easy copy/pasting.