Skip to content

Commit

Permalink
Merge pull request #268 from nicolasstucki/fix-264
Browse files Browse the repository at this point in the history
Recognize as in imports as a keyword
  • Loading branch information
nicolasstucki authored Feb 19, 2024
2 parents 1561350 + 1addd66 commit fb73e8a
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 fb73e8a

Please sign in to comment.