ejs-grammar icon indicating copy to clipboard operation
ejs-grammar copied to clipboard

EJS language syntax is not being highlighted

Open remeoj opened this issue 4 years ago • 6 comments

Steps to reproduce:

Here's the line of code that isn't working and the settings I have set image image

Expected result:

Syntax of <% and %> should be highlighted

remeoj avatar May 21 '21 14:05 remeoj

I fixed it by installing EJS language supporter and it works but the syntax still don't highlighted

fox11q avatar Nov 06 '21 22:11 fox11q

What is your language for the file set to? It should be HTML.

The brackets do not highlight but the code within should be seen as javascript.

Betanu701 avatar Nov 06 '21 22:11 Betanu701

Here is what I see when I wrote a quick test with your code.

image

Betanu701 avatar Nov 06 '21 22:11 Betanu701

What is your language for the file set to? It should be HTML.

The brackets do not highlight but the code within should be seen as javascript.

image Is it correct highlights? I thought that the brackets also should be colorised

fox11q avatar Nov 06 '21 23:11 fox11q

Here is what I see when I wrote a quick test with your code.

image

I understood. Thx you man)

fox11q avatar Nov 06 '21 23:11 fox11q

Yup, everything looks to be correct to me. Glad it is fixed for you!

Betanu701 avatar Nov 06 '21 23:11 Betanu701