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)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 3 Jan 2025 15:13:37 +0000 (16:13 +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)

lisp/progmodes/heex-ts-mode.el

index e19349b3a0f350880a0c420b172316e06ab47d03..0f7785a327912db499583f3459e595a7aa062fcc 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
      `([