]> git.eshelyaron.com Git - emacs.git/commitdiff
Update fontification for attribute values in heex-ts-mode
authorWilhelm Kirschbaum <wkirschbaum@gmail.com>
Mon, 30 Dec 2024 10:56:40 +0000 (12:56 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 4 Jan 2025 20:56:22 +0000 (21:56 +0100)
Attribute values are strings as with html-ts-mode.

* lisp/progmodes/heex-ts-mode.el (heex-ts--font-lock-settings):
Change to attribute value to @font-lock-string-face.  (Bug#75192)

(cherry picked from commit 921f454f5087f16d9afc5574525baa92df91b8d0)

lisp/progmodes/heex-ts-mode.el

index 2d41cdf4221bda4fb77817ad7feca2ba16d355b9..65aaa0d488d7e21c694525d29f223e69c094d70f 100644 (file)
      `((special_attribute_name) @font-lock-keyword-face)
      :language 'heex
      :feature 'heex-string
-     `([(attribute_value) (quoted_attribute_value)] @font-lock-constant-face)
+     `([(attribute_value) (quoted_attribute_value)] @font-lock-string-face)
      :language 'heex
      :feature 'heex-component
      `([