Skip to content

Commit 871b819

Browse files
committed
expand *.service support to desktop.js
1 parent 5ea1300 commit 871b819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/languages/desktop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default function(hljs) {
3535

3636
const SECTION_HEADER = {
3737
className: 'section',
38-
begin: /^\[(Desktop Entry|Desktop Action\s+[A-Za-z0-9_-]+)\]/,
38+
begin: /^\[(Desktop Entry|Unit|Service|Install|Socket|Mount|Automount|Swap|Path|Timer|Slice|Scope|Manager|Journak|Bridge|Desktop Action\s+[A-Za-z0-9_-]+)\]/,
3939
relevance: 10
4040
};
4141

0 commit comments

Comments
 (0)