[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 5144c31 149/352: Highlight types in all type an
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 5144c31 149/352: Highlight types in all type annotations. |
Date: |
Sun, 29 Aug 2021 11:22:34 -0400 (EDT) |
branch: elpa/julia-mode
commit 5144c31dfdc9907dadf3ab0a6ecc818b8bd99843
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Yichao Yu <yyc1992@gmail.com>
Highlight types in all type annotations.
---
julia-mode.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/julia-mode.el b/julia-mode.el
index a6a3751..04735ba 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -85,6 +85,9 @@
(defconst julia-type-regex
(rx symbol-start "type" (1+ space) (group (1+ (or word ?_)))))
+(defconst julia-type-annotation-regex
+ (rx "::" (group (1+ (or word ?_)))))
+
(defconst julia-macro-regex
"@\\w+")
@@ -112,6 +115,7 @@
(list julia-forloop-in-regex 1 'font-lock-keyword-face)
(list julia-function-regex 1 'font-lock-function-name-face)
(list julia-type-regex 1 'font-lock-type-face)
+ (list julia-type-annotation-regex 1 'font-lock-type-face)
))
(defconst julia-block-start-keywords
- [nongnu] elpa/julia-mode e51b039 099/352: fixing a bug in emacs mode with block start at beginning of buffer, (continued)
- [nongnu] elpa/julia-mode e51b039 099/352: fixing a bug in emacs mode with block start at beginning of buffer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 267cebf 118/352: Autoload julia-mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 88aab43 121/352: Merge in changes from ESS' version of julia-mode.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode cde82a9 120/352: Add Float16 to julia-mode.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 72d2e0f 123/352: Add support for Float16 to various array constructors, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 90ef8a2 137/352: julia-mode LaTeX symbol-table update, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c6b59d0 126/352: use spaces for indenting in julia mode again, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c924bd0 128/352: update SGJ mailmap entries, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode d2bd57d 139/352: Update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode cc5e1fe 135/352: tab-substitution of LaTeX symbols in Emacs julia-mode (for #6340, based on #6911), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5144c31 149/352: Highlight types in all type annotations.,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 3caccea 148/352: `in` is a keyword, so highlight it., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6105b93 151/352: Header improvements to conform to MELPA's standards., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8442201 152/352: All julia functions and variables should be prefixed., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 662e153 169/352: Update .mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e4f0b02 167/352: Ensure ! in a macro invocation is highlighted correctly., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 47ad8e4 158/352: add 1607 new LaTeX tab completions from the unicode-math package (closes #7657), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0b96ff5 170/352: Revert "Update .mailmap", ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode d74b8a3 171/352: Use the syntax table to detect if point is in a comment., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 747176f 177/352: fix latex symbol \bot, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode faee243 179/352: Implementing julia-in-string and julia-in-char., ELPA Syncer, 2021/08/29