We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5027ba + e707aec commit 6c995f9Copy full SHA for 6c995f9
src/typescript/Scala.tmLanguage.ts
@@ -847,7 +847,7 @@ export const scalaTmLanguage: TmLanguage = {
847
inheritance: {
848
patterns: [
849
{
850
- match: '(extends|with|derives)\\s+([^\\s\\{\\(\\[\\]]+)',
+ match: '(extends|with|derives)\\s+([^\\s\\{\\[\\]]+)',
851
captures: {
852
'1': {
853
name: 'keyword.declaration.scala'
tests/unit/#83.test.scala
@@ -0,0 +1,7 @@
1
+// SYNTAX TEST "source.scala"
2
+
3
+trait A extends B
4
+// ^^^^^^^ keyword.declaration.scala
5
6
+trait A extends (B => B){}
7
0 commit comments