[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/tuareg 0f49e65 02/10: Only fontify known @-tags in doc-mar
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/tuareg 0f49e65 02/10: Only fontify known @-tags in doc-markup face |
Date: |
Fri, 30 Jul 2021 16:57:26 -0400 (EDT) |
branch: elpa/tuareg
commit 0f49e65bfc90f6a9d0a0ab05ac48146072d48827
Author: Mattias EngdegÄrd <mattiase@acm.org>
Commit: Mattias EngdegÄrd <mattiase@acm.org>
Only fontify known @-tags in doc-markup face
Help the programmer by not fontifying unknown @-tags, likely to be
misspellings.
---
tuareg.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tuareg.el b/tuareg.el
index f8ecab0..088c91c 100644
--- a/tuareg.el
+++ b/tuareg.el
@@ -801,7 +801,9 @@ delimiting the region of interest. "
'tuareg-font-lock-error-face))
;; @-tag.
- ((rx "@" (group (+ (in "a-z" "_"))))
+ ((rx "@" (group (or "author" "deprecated" "param" "raise" "return"
+ "see" "since" "before" "version"))
+ word-end)
(put-text-property start (point) 'face
'tuareg-font-lock-doc-markup-face)
;; Use code face for the first argument of some tags.
- [nongnu] elpa/tuareg updated (b59c422 -> 465b61f), ELPA Syncer, 2021/07/30
- [nongnu] elpa/tuareg 64fada7 01/10: Rewrite `tuareg--error-regexp` in rx, ELPA Syncer, 2021/07/30
- [nongnu] elpa/tuareg b4d09cd 03/10: Remove duplicates from compilation-error-regexp-alist{-alist}, ELPA Syncer, 2021/07/30
- [nongnu] elpa/tuareg 8c8d217 05/10: Simpler matching of ending line and character in compiler message, ELPA Syncer, 2021/07/30
- [nongnu] elpa/tuareg c6c49d4 08/10: Compensate for end-columns in OCaml messages being off by one, ELPA Syncer, 2021/07/30
- [nongnu] elpa/tuareg a06468c 09/10: Repair handling of ocamldoc section headers like {2:text}, ELPA Syncer, 2021/07/30
- [nongnu] elpa/tuareg 465b61f 10/10: Merge commit 'refs/pull/258/head' of github.com:/ocaml/tuareg into elpa/tuareg, ELPA Syncer, 2021/07/30
- [nongnu] elpa/tuareg 00c4cf8 06/10: Match source locations in exception backtraces, ELPA Syncer, 2021/07/30
- [nongnu] elpa/tuareg 0f49e65 02/10: Only fontify known @-tags in doc-markup face,
ELPA Syncer <=
- [nongnu] elpa/tuareg aa57258 04/10: Recognise new warning format in compilation output, ELPA Syncer, 2021/07/30
- [nongnu] elpa/tuareg 916c551 07/10: Add ERT test of compilation and backtrace messages, ELPA Syncer, 2021/07/30