AdamNiederer/vue-mode

Won't parse lang if enclosed in single quotes

josemotanet opened this issue ยท 3 comments

Hello, Adam. I've been using vue-mode for quite some time, awesome stuff ๐Ÿ‘

Consider the following snippet:

<template lang="pug"> โœ“
...
<template lang='pug'> ร—

vue-mode won't detect the language if you enclose the attribute's value in single quotes.


This might be the place to look for a change but I'm not much of a Lisp guy (yet):

" +lang=\"%s\"" ; The language specifier

Hey, thanks for the thorough report. It looks like emacs doesn't highlight single quotes around attributes, but they are allowed by w3.

I've pushed eab311f, which should resolve your issue. Try it out when MELPA rebuilds, and feel free to re-open this or file another issue if you experience any further problems.

Thank you Adam. I'm glad I could be of use. Have a great day! ๐Ÿ‘

Just confirmed that the update works like a charm. Thank you Adam for your attentiveness.