Open ghost opened 7 years ago
I have the same problem, if not the same it's very close to it. It's like the %> doesn't close the first <%. (See picture below). Is there a fix to this?
Edit: the first red one seems to be the opener while the second red seems to be the closer. But for some reason they aren't using the same line opener/closer.
I'm having the same problem, using atom version 1.17.2
Same issue for me.
The readme says "Select 'JavaScript Template' if it's not automatically working."
What is a template and where do you select it? Does this fix the syntax highlighting?
same issue here...!
Same problem. And I don't know what mean "Select 'JavaScript Template' if it's not automatically working."
At the bottom bar in Atom, you can change the language - selecting javascript seems to help.
At the bottom bar in Atom, you can change the language - selecting javascript seems to help.
But that breaks the ejs snippets, merging javascript ones with it.
Changing language to EJS fixed it for me, it was on HTML and didn't show it. Not sure about changing to JavaScript, but check if the language is on EJS or HTML.
Also learned you can change language by doing that, thanks!
For me, at the bottom bar, selecting 'EJS' causes my .ejs files to just appear like plain text files. Ie, there is no highlighting at all.
Is anyone else experiencing this?
I'm running on Chrome_Linux (ChromeOS Linux), Debian GNU/Linux 10 (buster), Atom v1.51.0 x64, language-ejs v0.4.0.
UPDATE: I found that it actually does highlight code as I type, but it doesn't highlight code that is already there upon opening files.
When typing <% , it does not become blue like the screenshot and inside a for loop when I use html, it colorizes like it is javascript.