diff options
author | Vincenzo Pupillo <v.pupillo@gmail.com> | 2024-06-22 23:11:17 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-06-23 07:57:52 +0300 |
commit | 2f1c882a16e5e5215da039af1b4c4a8f569db1a1 (patch) | |
tree | a049ca15b2eae36f8d45dade8cb66661e18d7bd7 /lisp/emacs-lisp/byte-run.el | |
parent | dd0994aa36c3c7e0916c6d91b22edffbe530fb8d (diff) | |
download | emacs-2f1c882a16e5e5215da039af1b4c4a8f569db1a1.tar.gz emacs-2f1c882a16e5e5215da039af1b4c4a8f569db1a1.tar.bz2 emacs-2f1c882a16e5e5215da039af1b4c4a8f569db1a1.zip |
Colorize CSS property value like `css--fontify-region'
If the value of a property is text representing a CSS color,
it will be fontified such that its background is the color
itself. 'php-ts-mode-css-fontify-colors' can be used to
disable this behaviour.
* lisp/progmodes/php-ts-mode.el (php-ts-mode-css-fontify-colors):
New custom var.
* lisp/progmodes/php-ts-mode.el (php-ts-mode--colorize-css-value):
New function.
* lisp/progmodes/php-ts-mode.el (php-ts-mode): Use the new
function. (Bug#71724)
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions