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

enh(scala) add using soft keyword #3330

Merged
merged 1 commit into from Sep 10, 2021

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Sep 6, 2021

Changes

using is a keyword if it appears at the start of a parameter or argument list.
See https://docs.scala-lang.org/scala3/reference/soft-modifier.html

Based on https://github.com/scala/vscode-scala-syntax/blob/57e0829cd46980699570101a68c320a20330d36c/src/typescript/Scala.tmLanguage.ts#L504

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md

@nicolasstucki nicolasstucki force-pushed the add-using-soft-keyword branch 2 times, most recently from bfa8406 to c6f7de9 Compare September 7, 2021 09:21
@nicolasstucki nicolasstucki marked this pull request as ready for review September 7, 2021 09:22
src/languages/scala.js Outdated Show resolved Hide resolved
src/languages/scala.js Outdated Show resolved Hide resolved
Copy link
Member

@joshgoebel joshgoebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good now, just tiny changes.

@nicolasstucki nicolasstucki force-pushed the add-using-soft-keyword branch 2 times, most recently from 36cfcbd to a71c972 Compare September 10, 2021 09:17
src/languages/scala.js Outdated Show resolved Hide resolved
@joshgoebel joshgoebel merged commit e076acc into highlightjs:main Sep 10, 2021
@joshgoebel
Copy link
Member

@nicolasstucki Anything else or is scala perfect now? :-)

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.

None yet

2 participants