|
From: | Jean Louis |
Subject: | Re: Introducing face in comments for various modes |
Date: | Tue, 13 Dec 2022 10:52:31 +0300 |
User-agent: | Mutt/2.2.9+54 (af2080d) (2022-11-21) |
Heime, I like the idea of highlighting comments, though I do it this way to specify (syntax comment-start) as that works for multiple modes. ; one ;; two ;;; three ;;;; and more ;;; Highlighting comments (setq rcd-regexp-comment (rx line-start (one-or-more (syntax comment-start)) (one-or-more space) (group (one-or-more not-newline)) line-end)) ;; (highlight-regexp regexp nil 1) ;; (unhighlight-regexp regexp) -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/
[Prev in Thread] | Current Thread | [Next in Thread] |