branch: externals/ellama
commit 58d20e7fef21f69611ba66c721e37884115a822b
Author: Sergey Kostyaev <[email protected]>
Commit: Sergey Kostyaev <[email protected]>

    Switch to backquote quoting for ellama‑blueprint font-lock
    
    Changed the call to `setq font-lock-defaults` from single‑quoted to 
backquoted
    form so that the comma‑prefixed variable reference is properly unquoted. 
This
    adjustment ensures the regex is evaluated correctly and the font‑lock face 
is
    applied as intended. Remove unused `ellama-blueprint-font-lock-keywords`
    variable.
---
 ellama-blueprint.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/ellama-blueprint.el b/ellama-blueprint.el
index a184a164c2..79afea10da 100644
--- a/ellama-blueprint.el
+++ b/ellama-blueprint.el
@@ -126,10 +126,6 @@ directory in the current project root."
   "{\\([[:alnum:]_-]+\\)}"
   "Regular expression to match blueprint variables like {var_name}.")
 
-(defvar ellama-blueprint-font-lock-keywords
-  '((,ellama-blueprint-variable-regexp 1 'font-lock-keyword-face))
-  "Highlight variables in curly braces for Ellama Blueprint Mode.")
-
 ;;;###autoload
 (define-derived-mode ellama-blueprint-mode
   text-mode
@@ -137,7 +133,7 @@ directory in the current project root."
   "Toggle Ellama Blueprint mode."
   :keymap ellama-blueprint-mode-map
   :group 'ellama
-  (setq font-lock-defaults '(((,ellama-blueprint-variable-regexp 1 
font-lock-keyword-face t))))
+  (setq font-lock-defaults `(((,ellama-blueprint-variable-regexp 1 
font-lock-keyword-face t))))
   (setq header-line-format
        (concat
         (propertize

Reply via email to