Skip to content

Commit

Permalink
Move as pattern to keywords patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasstucki committed Jul 7, 2020
1 parent 02fe701 commit 84f96e1
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions src/typescript/Scala.tmLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ export const scalaTmLanguage: TmLanguage = {
{
include: '#using'
},
{
include: '#as'
},
{
include: '#constants'
},
Expand Down Expand Up @@ -416,16 +413,6 @@ export const scalaTmLanguage: TmLanguage = {
}
]
},
'as': {
patterns: [
{
match: '\\s(as)\\s',
captures: {
'1': { name: 'keyword.declaration.scala' }
}
}
]
},
'string-interpolation': {
patterns: [
{
Expand Down Expand Up @@ -559,6 +546,12 @@ export const scalaTmLanguage: TmLanguage = {
{
match: '(<-|←|->|→|=>|⇒|\\?|\\:+|@|\\|)+',
name: 'keyword.operator.scala'
},
{
match: '\\s(as)\\s',
captures: {
'1': { name: 'keyword.declaration.scala' }
}
}
]
},
Expand Down

0 comments on commit 84f96e1

Please sign in to comment.