Skip to content

Commit b9b645a

Browse files
committed
Make inline, opaque, as and derives soft keywords
1 parent 294e24e commit b9b645a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/typescript/Scala.tmLanguage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ export const scalaTmLanguage: TmLanguage = {
640640
name: 'storage.modifier.access'
641641
},
642642
{
643-
match: '\\b(synchronized|@volatile|abstract|final|lazy|sealed|implicit|given|as|erased|enum|inline|opaque|override|@transient|@native)\\b',
643+
match: '\\b(synchronized|@volatile|abstract|final|lazy|sealed|implicit|given|erased|enum|inline |opaque |override|@transient|@native)\\b',
644644
name: 'storage.modifier.other'
645645
}
646646
]
@@ -811,7 +811,7 @@ export const scalaTmLanguage: TmLanguage = {
811811
inheritance: {
812812
patterns: [
813813
{
814-
match: '(extends|with)\\s+([^\\s\\{\\(\\[\\]]+)',
814+
match: '(extends|with|derives|as)\\s+([^\\s\\{\\(\\[\\]]+)',
815815
captures: {
816816
'1': {
817817
name: 'keyword.declaration.scala'

0 commit comments

Comments
 (0)