Skip to content

Commit

Permalink
Recognize as in imports as a keyword
Browse files Browse the repository at this point in the history
Fixes scala#264
  • Loading branch information
nicolasstucki committed Feb 16, 2024
1 parent 0ee961a commit 1addd66
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/typescript/Scala.tmLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ export const scalaTmLanguage: TmLanguage = {
match: '\\b(given)\\b',
name: 'keyword.other.import.given.scala'
},
{
match: '\\s(as)\\s',
name: 'keyword.other.import.as.scala'
},
{
match: idUpper,
name: 'entity.name.class.import.scala'
Expand Down
Loading

0 comments on commit 1addd66

Please # to comment.