File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
resources/dotty_res/scripts Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -255,11 +255,11 @@ function highlightDotty(hljs) {
255
255
]
256
256
}
257
257
258
- // Given instances (for the soft keyword 'as')
258
+ // Given instances
259
259
const GIVEN = {
260
260
begin : / g i v e n / , end : / [ = ; \n ] / ,
261
261
excludeEnd : true ,
262
- keywords : 'as given using' ,
262
+ keywords : 'given using with ' ,
263
263
contains : [
264
264
hljs . C_LINE_COMMENT_MODE ,
265
265
hljs . C_BLOCK_COMMENT_MODE ,
@@ -316,8 +316,8 @@ function highlightDotty(hljs) {
316
316
317
317
const CLASS = {
318
318
className : 'class' ,
319
- begin : `((${ modifiers } |open|case) +)*class|trait|enum|object|package object` , end : templateDeclEnd ,
320
- keywords : withSoftKeywords ( 'open' ) ,
319
+ begin : `((${ modifiers } |open|case|transparent ) +)*( class|trait|enum|object|package object) ` , end : templateDeclEnd ,
320
+ keywords : withSoftKeywords ( 'open transparent ' ) ,
321
321
contains : [
322
322
hljs . C_LINE_COMMENT_MODE ,
323
323
hljs . C_BLOCK_COMMENT_MODE ,
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ Ported by Fabrício Tavares de Oliveira
15
15
color : # 000 ;
16
16
}
17
17
18
- .hljs-string ,
18
+ /* .hljs-string,
19
19
.hljs-meta,
20
20
.hljs-symbol,
21
21
.hljs-template-tag,
22
22
.hljs-template-variable,
23
23
.hljs-addition {
24
24
color: #756bb1;
25
- }
25
+ }*/
26
26
27
27
.hljs-comment ,
28
28
.hljs-quote {
@@ -42,7 +42,7 @@ Ported by Fabrício Tavares de Oliveira
42
42
color : # 88f ;
43
43
}
44
44
45
- .hljs-keyword ,
45
+ /* .hljs-keyword,
46
46
.hljs-selector-tag,
47
47
.hljs-title,
48
48
.hljs-section,
@@ -55,7 +55,7 @@ Ported by Fabrício Tavares de Oliveira
55
55
.hljs-selector-class,
56
56
.hljs-strong {
57
57
color: #3182bd;
58
- }
58
+ }*/
59
59
60
60
.hljs-emphasis {
61
61
font-style : italic;
You can’t perform that action at this time.
0 commit comments