Skip to content

Commit 2dd38f7

Browse files
committed
refactor: clean up schema
1 parent c4717f9 commit 2dd38f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/util/languages/diff.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@ export const diffLanguage: languages.IMonarchLanguage = {
2121

2222
// Additions
2323
[/^\+.*/, 'addition'],
24+
[/^!.*/, 'addition'],
2425

2526
// Deletions
2627
[/^-.*/, 'deletion'],
27-
28-
// Other additions (e.g., `!`)
29-
[/^!.*/, 'addition'],
3028
],
3129
},
3230
};

0 commit comments

Comments
 (0)