[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode fb94d19 295/346: Fix fontification of "xxxmodule.yy
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode fb94d19 295/346: Fix fontification of "xxxmodule.yyy" |
Date: |
Sun, 29 Aug 2021 11:00:48 -0400 (EDT) |
branch: elpa/d-mode
commit fb94d199fb292e55ba30193e013958f411335551
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>
Fix fontification of "xxxmodule.yyy"
---
d-mode.el | 5 +++--
tests/fonts.d | 1 +
tests/fonts.d.html | 1 +
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 52a8e10..280fdd9 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -7,7 +7,7 @@
;; Maintainer: Russel Winder <russel@winder.org.uk>
;; Vladimir Panteleev <vladimir@thecybershadow.net>
;; Created: March 2007
-;; Version: 201911111459
+;; Version: 201911111516
;; Keywords: D programming language emacs cc-mode
;; Package-Requires: ((emacs "25.1"))
@@ -1684,7 +1684,8 @@ Each list item should be a regexp matching a single
identifier."
d (append
;; D module and import statements
(list (c-make-font-lock-BO-decl-search-function
- (c-make-keywords-re t (c-lang-const c-ref-list-kwds))
+ (concat "\\_<"
+ (c-make-keywords-re t (c-lang-const c-ref-list-kwds d) 'd))
'((c-fontify-types-and-refs ()
(d-forward-module-clause)
(if (> (point) limit) (goto-char limit))))))
diff --git a/tests/fonts.d b/tests/fonts.d
index ea6961a..4081f79 100644
--- a/tests/fonts.d
+++ b/tests/fonts.d
@@ -41,5 +41,6 @@ debug bool resolveNeeded = false;
void fun()
{
+ submodule.needHead(commit);
return gun();
}
diff --git a/tests/fonts.d.html b/tests/fonts.d.html
index 0c76899..1f27fae 100644
--- a/tests/fonts.d.html
+++ b/tests/fonts.d.html
@@ -41,5 +41,6 @@ write(s ~ <span class="string">""</span>);
<span class="type">void</span> <span class="function-name">fun</span>()
{
+ submodule.needHead(commit);
<span class="keyword">return</span> gun();
}
- [nongnu] elpa/d-mode 968306a 224/346: Add a test case against the now-removed fontification hack, (continued)
- [nongnu] elpa/d-mode 968306a 224/346: Add a test case against the now-removed fontification hack, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8e208b2 232/346: Fix imenu display of functions for imenu-add-to-menubar, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b2c9831 252/346: Make imenu hierarchical, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 69df4a3 254/346: Abbreviate symbol kind in imenu entries, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 12e45cf 258/346: Fix fontification of properties with inferred return type, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 26e7337 253/346: Don't put variables in imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 372c135 274/346: Makefile: Fail on byte-compilation warnings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a0e95f4 282/346: Remove cl-lib dependency, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2b48656 285/346: Simplify c-forward-decl-or-cast-1 advice, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 936944f 294/346: tests: Update test minimal versions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode fb94d19 295/346: Fix fontification of "xxxmodule.yyy",
ELPA Syncer <=
- [nongnu] elpa/d-mode 6cbba0e 301/346: Fix fontification of lone protection labels, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2bb5809 304/346: Move conditional compilation to within function bodies, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c29b03d 302/346: .travis.yml: Remove redundant "compile" step, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c8413d2 317/346: tests: Rename fonts_lambda_params to fonts_params, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 4586b41 314/346: Fix mis-interpreting parts of some compound statements as lambdas, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e759406 324/346: tests: New testcase, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 50fef92 321/346: Enable Coveralls parallel builds, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 0522d1c 320/346: Bundle our own undercover.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode df9c8a1 322/346: Fontify types in casts, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5190c1d 323/346: Fix fontification of parameters of lambdas inside expressions, ELPA Syncer, 2021/08/29