Skip to content

Conversation

@seletskiy
Copy link

Without word delimiter in pattern regexp form will be incorrectly
attributed to the pugScriptLoopRegion.

Without word delimiter in pattern regexp `form` will be incorrectly
attributed to the `pugScriptLoopRegion`.
```pug
span.aui-lozenge.aui-lozenge-subtle(
  :class=`{
    "aui-lozenge-inprogress": pipeline.status == PipelineStatus.Running,
    "aui-lozenge-error":      pipeline.status == PipelineStatus.Failed
  }`
)
```

Entire string inside of `:class` should be highlighted as a JavaScript string.
Also, add special group to not highlight multiline string indentation, which is
useful when string highlighting is using non-default background color.
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

Successfully merging this pull request may close these issues.

1 participant