Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<script> and <style> blocks not getting parsed #27

Closed
christabella opened this issue Mar 31, 2017 · 1 comment
Closed

<script> and <style> blocks not getting parsed #27

christabella opened this issue Mar 31, 2017 · 1 comment

Comments

@christabella
Copy link

christabella commented Mar 31, 2017

My <template> contents syntax highlighting is working but the contents of <script> and <style> are completely not getting parsed. Am not using Spacemacs, and this is in my init.el:

(use-package vue-mode
  :ensure t
  :init
  :config
  (require 'vue-mode)
  (setq mmm-submode-decoration-level 2))

image

@christabella christabella changed the title <script> and <style> blocks not getting parsed <script> and <style> blocks not getting parsed Mar 31, 2017
@aardito2
Copy link
Contributor

aardito2 commented May 11, 2017

<script> blocks are only parsed for me if I explicitly specify <script lang="js">. The same is true for templates - I have to do <template lang="html">. I'm not really sure why this is the case, as the regex seems like it shouldn't be requiring the lang specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants