From e1204abe1e64e7ae22592ca679d37aa196ffa587 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Tue, 24 Sep 2024 02:06:16 +0900 Subject: [PATCH] Fix display related CBS autocomplete --- src/ts/gui/highlight.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ts/gui/highlight.ts b/src/ts/gui/highlight.ts index 8f4e4baf..3d7aa584 100644 --- a/src/ts/gui/highlight.ts +++ b/src/ts/gui/highlight.ts @@ -131,9 +131,9 @@ const deprecatedDecorators = [ 'end', 'assistant', 'user', 'system' ] -export const AllCBS = [...normalCBS, ...(normalCBSwithParams.map((v) => { +export const AllCBS = [...normalCBS, ...(normalCBSwithParams.concat(displayRelatedCBS).map((v) => { return v + ':' -})), ...displayRelatedCBS, ...nestedCBS] +})), ...nestedCBS] const highlighterSyntax = [ {