fxbois / web-mode

web template editing mode for emacs
https://web-mode.org
GNU General Public License v3.0
1.64k stars 260 forks source link

Fix opening tag for schema snippet #1307

Closed chee closed 2 months ago

chee commented 5 months ago

it was {% javascript %}{% endschema %} but i believe it is meant to be {% schema %}{% endschema %}

fxbois commented 5 months ago

Hi please add schema without removing JavaScript

chee commented 2 months ago

Hi please add schema without removing JavaScript

hey, i'm not removing javascript or adding schema.

the lines were:

 ("js"         . "{% javascript | %}\n\n{% endjavascript %}")
 ("schema"     . "{% javascript | %}\n\n{% endschema %}")

where the definition of schema opens as javascript and ends as endschema. i'm only fixing it so that the schema (that is already present) opens with schema rather than javascript. javascript is still there, on the line above.

fxbois commented 2 months ago

thx