Skip to content
New issue

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

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

Already on GitHub? # to your account

Slm syntax highliting breaks at nested quotes #1134

Closed
3 tasks done
mstssk opened this issue Mar 5, 2019 · 1 comment
Closed
3 tasks done

Slm syntax highliting breaks at nested quotes #1134

mstssk opened this issue Mar 5, 2019 · 1 comment

Comments

@mstssk
Copy link

mstssk commented Mar 5, 2019

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • Platform: macOS
  • Vetur version: 0.16.2
  • VS Code version: 1.31.1

Problem

I wrote v-if attribute with nested double quotes and single quotes in Slm template.
Slm syntax highliting breaks at nested quotes.

sc

Reproducible Case

Reproduction code.

<template lang="slm">
  div v-if="state === 'initialized'"
    slot
</template>
<script>
export default {
  data: {
    state: "foobar"
  }
};
</script>
<style>
</style>
@octref octref added this to the March 2019 milestone Mar 6, 2019
@octref
Copy link
Member

octref commented Mar 6, 2019

This is because I used text.pug.slm for embedded SLM, but it should be text.jade.slm with https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-slm.

@octref octref closed this as completed Mar 6, 2019
@octref octref reopened this Mar 6, 2019
@octref octref closed this as completed in 2003bc8 Mar 6, 2019
phil294 pushed a commit to phil294/MEVN-base that referenced this issue Jul 24, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants