[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode b6b52a4 162/352: tweaks to emacs syntax highlig
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode b6b52a4 162/352: tweaks to emacs syntax highlighting |
Date: |
Sun, 29 Aug 2021 11:22:36 -0400 (EDT) |
branch: elpa/julia-mode
commit b6b52a479b14727bfb59467766db7967653f072e
Author: Jeff Bezanson <jeff.bezanson@gmail.com>
Commit: Yichao Yu <yyc1992@gmail.com>
tweaks to emacs syntax highlighting
- the type-parameter case only affected single type parameters. not
worth doing.
- coloring only `error` and `throw` differently is too arbitrary.
---
julia-mode.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index b21378c..ca56595 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -118,8 +118,8 @@
(defconst julia-type-annotation-regex
(rx "::" (group (1+ (or word ?_)))))
-(defconst julia-type-parameter-regex
- (rx symbol-start (1+ (or word ?_)) "{" (group (1+ (or word ?_))) "}"))
+;;(defconst julia-type-parameter-regex
+;; (rx symbol-start (1+ (or word ?_)) "{" (group (1+ (or word ?_))) "}"))
(defconst julia-subtype-regex
(rx "<:" (1+ space) (group (1+ (or word ?_))) (0+ space) (or "\n" "{"
"end")))
@@ -138,7 +138,8 @@
(defconst julia-builtin-regex
(regexp-opt
- '("error" "throw")
+ ;;'("error" "throw")
+ '()
'symbols))
(defconst julia-font-lock-keywords
@@ -158,7 +159,7 @@
(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)
- (list julia-type-parameter-regex 1 'font-lock-type-face)
+ ;;(list julia-type-parameter-regex 1 'font-lock-type-face)
(list julia-subtype-regex 1 'font-lock-type-face)
(list julia-builtin-regex 1 'font-lock-builtin-face)
))
- [nongnu] elpa/julia-mode 419dfd9 090/352: fix to "in" syntax highlighting, (continued)
- [nongnu] elpa/julia-mode 419dfd9 090/352: fix to "in" syntax highlighting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2843dad 092/352: fix #874, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode db9a18c 102/352: .mailmap: some additions to dedup contributors in gitlog, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 44cd797 116/352: Update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7064885 113/352: update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 137455a 119/352: Update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode db05511 143/352: Adding autoload cookie for associating .jl files with julia-mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode d6a298b 146/352: Removing unused constant., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1b6b38c 154/352: Don't highlight that that happens to contain a constant., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 45e1650 159/352: Correcting type regex., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b6b52a4 162/352: tweaks to emacs syntax highlighting,
ELPA Syncer <=
- [nongnu] elpa/julia-mode fdaa84d 163/352: emacs requires \Unnnnn unicode escapes to be padded to 8 hex digits, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6c7d21e 165/352: julia-mode.el: syntax entry for '/' and '.', ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 03ce66f 173/352: Improving comments to clarify how indentation works., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e81afbf 054/352: Add Stephan to .mailmap. Welcome, also!, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode cb0a2a3 066/352: sparse ref() using matmul, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 412cbc8 067/352: Add Jameson to .mailmap and otherwise organize and update it., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 37f4f34 083/352: Update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 3513e2a 087/352: Update mailmap., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7daea0a 097/352: Update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2eab982 110/352: Update mailmap, ELPA Syncer, 2021/08/29