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

for in coffeescript highlight #41

Closed
vird opened this issue Apr 7, 2016 · 1 comment
Closed

for in coffeescript highlight #41

vird opened this issue Apr 7, 2016 · 1 comment

Comments

@vird
Copy link

vird commented Apr 7, 2016

proper coffee highlight http://i65.tinypic.com/k03p0o_th.png

<template>
</template>

<script lang='iced'>

module.exports =
  data : ()->
    for some in stuff
      do_something
    list = []
</script>

<style>
</style>

transforms to : http://i63.tinypic.com/35ldlqs_th.png
Not all lines after including style are broken.
This partially cures highlight

<template>
</template>

<script lang='iced'>

module.exports =
  data : ()->
    for some in stuff
      # )
      do_something
    list = []
</script>

<style>
</style>

Result: http://i68.tinypic.com/2di4wb4_th.png

Also comments and heredoc rendered wrongly.

Sublime build 3103
Better CoffeeScript plugin used. v2014.12.2819.15.55
Vue Syntax Highlight v2.1.3

@skyronic
Copy link
Collaborator

skyronic commented May 9, 2018

Apologies for delayed response. Looks like it's working fine when I use coffee. I checked in the vue-loader repo and iced isn't supported. Please feel free to reopen if you continue experiencing issues.

image

@skyronic skyronic closed this as completed May 9, 2018
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