[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Colour Capital Letters

From: Heime
Subject: Colour Capital Letters
Date: Mon, 02 Oct 2023 01:58:06 +0000

I want to make a stand alone function that uses a different colour for capital 
in CamelCase names. Possibly taking code from glasses.el.

(defun color-camelcase-capital-letters ()
  "Color capital letters in CamelCase variables."
  (highlight-regexp "\\(?:^\\|\\b\\)[[:upper:]][[:lower:]]*" 'hi-yellow))

What can I do ?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]