From 2610cc00396399fcb07c3004c646d1ab370fc14c Mon Sep 17 00:00:00 2001 From: Aman Sharma Date: Sat, 19 Oct 2019 09:10:57 +0530 Subject: [PATCH] Hightlight subcommands for dvc --- src/Documentation/Markdown/lang/dvc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Documentation/Markdown/lang/dvc.js b/src/Documentation/Markdown/lang/dvc.js index d43a3ca49ba..c07a4290acd 100644 --- a/src/Documentation/Markdown/lang/dvc.js +++ b/src/Documentation/Markdown/lang/dvc.js @@ -62,7 +62,7 @@ let _javascript = function(hljs) { } }, { - begin: /dvc [a-z-]+/, + begin: /dvc [a-z-]+(\s[a-z]+)?/, lexemes: '[a-z-]+', keywords: { built_in: @@ -70,7 +70,7 @@ let _javascript = function(hljs) { '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' + 'update list show modify dir default' }, className: 'strong' }