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

shorthand operator break syntax highlighting #91

Closed
crapthings opened this issue Mar 4, 2018 · 2 comments
Closed

shorthand operator break syntax highlighting #91

crapthings opened this issue Mar 4, 2018 · 2 comments

Comments

@crapthings
Copy link

image

issues = issues.map(function mapIssue(issue, idx) {
    const tags = _.map(issue.tagIds, tagId => cachedTags[tagId])
    const isIssueCategoryTags = _.filter(tags, 'isIssueCategory')
    if (!_.isEmpty(isIssueCategoryTags))
      issue.hasTemplate = true

    if (issue.hasTemplate)
      _.each(tags, tag => issuesThatUseTemplate.push({ name: tag.name }))

    issue.groupName = _.get(cachedGroups, `${issue.groupId}.name`)
    issue.createdAtfmt = moment(new Date(issue.createdAt)).format('YYYY.M.D')
    issue.creatorName = _.get(cachedUsers, `${issue.createdById}.profile.name`)
    issue.idx = idx + 1
    issueIdx++
    return issue
  })

add ";" works but i don't use ";"

image

@borela
Copy link
Owner

borela commented Mar 4, 2018

@borela
Copy link
Owner

borela commented Mar 5, 2018

I can confirm that this bug was fixed and the patch was picked by packagecontrol.

@borela borela closed this as completed Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants