M structurizr-mode.el +1 -1
@@ 84,7 84,7 @@
(goto-char (- (point-max) pos)))))))
(defvar structurizr-keywords
- '("workspace" "model"))
+ '("workspace" "model" "impliedRelationships" "enterprise" "group" "person" "softwareSystem" "container" "component" "deploymentEnvironment" "deploymentGroup" "deploymentNode" "infrastructureNode" "softwareSystemInstance" "containerInstance" "element" "views" "systemLandscape" "systemContext" "filtered" "dynamic" "deployment" "custom" "styles" "relationship" "theme" "branding" "terminology" "configuration" "users"))
(defvar structurizr-font-locks
`((,(regexp-opt structurizr-keywords 'words) . font-lock-keyword-face)))
M test/test-highlight.el +1 -1
@@ 27,7 27,7 @@
(ert-deftest keywords-highlighting ()
"We highlight correctly based on the keywords"
- (dolist (keyword '("workspace" "model"))
+ (dolist (keyword '("workspace" "model" "impliedRelationships" "enterprise" "group" "person" "softwareSystem" "container" "component" "deploymentEnvironment" "deploymentGroup" "deploymentNode" "infrastructureNode" "softwareSystemInstance" "containerInstance" "element" "views" "systemLandscape" "systemContext" "filtered" "dynamic" "deployment" "custom" "styles" "relationship" "theme" "branding" "terminology" "configuration" "users"))
(with-structurizr-temp-buffer
keyword
(should (face-at-cursor-p 'font-lock-keyword-face)))) )