From c903ccfe3de9050e6964228e5358f94ed5116c4d Mon Sep 17 00:00:00 2001
From: Matthias Bodenbenner <m.bodenbenner@wzl-mq.rwth-aachen.de>
Date: Thu, 16 May 2024 08:39:08 +0200
Subject: [PATCH] another fix of highlighting

---
 src/features/soil-editor/SoilTextEditor/SoilHighlight.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts b/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts
index 4ac6fd7..2653eb2 100644
--- a/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts
+++ b/src/features/soil-editor/SoilTextEditor/SoilHighlight.ts
@@ -22,7 +22,7 @@ export const soilHighlight = {
     alias: 'keyword'
   },
   'keyword': {
-    pattern: /\b(component|enum|extends|function|import|interface|variable|defines)\s\b/
+    pattern: /(\b|\s)(component|enum|extends|function|import|interface|variable|defines|streaming)(\b|\s)/
   },
   "modifier": {
     pattern: /\b(constant|dynamic|fixed|update)\b/
-- 
GitLab