Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

fix: @each block end #268

Closed
wants to merge 1 commit into from
Closed

fix: @each block end #268

wants to merge 1 commit into from

Conversation

jquense
Copy link

@jquense jquense commented Oct 9, 2019

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

Fixes, syntax highlighting for @each statements. Updated to match the other control flow/iteration patterns (see if, else, for, etc)

old:
image

new:
image

Alternate Designs

Benefits

Code will be highlighted more accurately. Specifically in nested language cases, such as CSS-in-js style colocation of scss styles in js

Possible Drawbacks

It could be the wrong fix?

Applicable Issues

Fixes #267

@rsese
Copy link

rsese commented Oct 9, 2019

Awesome thank you @jquense 👍 Would you be able to add a test so that future changes don't break your fix?

@jquense
Copy link
Author

jquense commented Oct 10, 2019

Sure I can try! do they have to be in coffee script? I've never used that but probably can pick it up

@rsese
Copy link

rsese commented Oct 10, 2019

🙇

do they have to be in coffee script?

Sorry, yes looks like the current specs are CoffeeScript.

@jquense
Copy link
Author

jquense commented Nov 9, 2019

getting coffescript to work here is a real barrier to contribution fyi...this is likely a 5 min task but i don't really have all the extra time to figure out and learn enough coffescript necessary to write this test.

@jquense jquense closed this Feb 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syntax highlighting of @each directive inside .vue style block
2 participants