File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -577,7 +577,7 @@ export const scalaTmLanguage: TmLanguage = {
577
577
inline : {
578
578
patterns : [
579
579
{
580
- match : `\\b(inline)\\b(?=(\\s+(?:${ plainid } |${ backQuotedId } )\\s*:)|(.*(val|def)))` ,
580
+ match : `\\b(inline)\\b(?=(\\s+(?:${ plainid } |${ backQuotedId } )\\s*:)|(.*(val|def|given )))` ,
581
581
captures : {
582
582
'1' : {
583
583
name : 'storage.modifier.other'
Original file line number Diff line number Diff line change
1
+ // SYNTAX TEST "source.scala"
2
+
3
+
4
+ inline def mkDefaultTypeable [T ]: Typeable [T ] = $ { TypeableMacros .impl[T ] }
5
+ // ^^^^^^ storage.modifier.other
6
+ // ^^^ keyword.declaration.scala
7
+
8
+ inline given [T ] as Typeable [T ] = mkDefaultTypeable[T ]
9
+ // ^^^^^^ storage.modifier.other
10
+ // ^^^^^ keyword.declaration.scala
You can’t perform that action at this time.
0 commit comments