Skip to content

Commit fb73e8a

Browse files
Merge pull request #268 from nicolasstucki/fix-264
Recognize as in imports as a keyword
2 parents 1561350 + 1addd66 commit fb73e8a

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

src/typescript/Scala.tmLanguage.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ export const scalaTmLanguage: TmLanguage = {
5757
match: '\\b(given)\\b',
5858
name: 'keyword.other.import.given.scala'
5959
},
60+
{
61+
match: '\\s(as)\\s',
62+
name: 'keyword.other.import.as.scala'
63+
},
6064
{
6165
match: idUpper,
6266
name: 'entity.name.class.import.scala'

0 commit comments

Comments
 (0)