From 4c1739911af9eae81e55803eddab139386907427 Mon Sep 17 00:00:00 2001 From: Hakan Ozler Date: Tue, 12 Sep 2017 23:20:58 +0300 Subject: [PATCH] update docker syntax highlight --- react/src/components/CommandEditor/docker-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/src/components/CommandEditor/docker-editor.js b/react/src/components/CommandEditor/docker-editor.js index 4097ef7..e7c409c 100644 --- a/react/src/components/CommandEditor/docker-editor.js +++ b/react/src/components/CommandEditor/docker-editor.js @@ -30,7 +30,7 @@ export const init = (ace) => { }, { token: "variable", - regex: " *(?:GET|POST|DELETE)[ |\t](images|containers|swarm|networks|volumes|_ping|system\\/df|version|info|auth|secrets|nodes|services|tasks|plugins)(?=\\/)?" + regex: " *(?:GET|POST|DELETE)[ |\t](images|containers|swarm|networks|volumes|configs|distribution|_ping|system\\/df|version|info|auth|secrets|nodes|services|tasks|plugins)(?=\\/)?" }, { token: "variable",