Skip to content

Commit

Permalink
Hightlight third subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
algomaster99 committed Oct 20, 2019
1 parent 208a79b commit 313e9bd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/Documentation/Markdown/lang/dvc.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,24 @@ let _javascript = function(hljs) {
}
},
{
begin: /dvc [a-z-]+(\s[a-z]+)?/,
begin: /dvc [a-z-]+ ?/,
lexemes: '[a-z-]+',
keywords: {
built_in:
'help dvc init add import-url checkout run pull push ' +
'fetch status repro remove move gc config remote metrics ' +
'install root lock unlock pipeline destroy unprotect ' +
'commit cache pkg tag diff version get get-url import ' +
'update list show modify dir default'
'update'
},
contains: [
{
begin: /\w+(?![\S])/,
keywords: {
built_in: 'list show modify dir default add remove'
}
}
],
className: 'strong'
}
]
Expand Down

0 comments on commit 313e9bd

Please sign in to comment.