aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-05-24 19:47:53 -0700
committerGravatar Tom Willemse2021-05-24 19:49:40 -0700
commit72b4e0b83e90ba3a0e4bd4c471a035c87ab137d6 (patch)
treecdca4042bc4ef11a42b7ba4d366bbbbc3f53d936
parent53ed90be40ce85b0ad347e1e1d897b9c6e19a05f (diff)
downloademacs-config-72b4e0b83e90ba3a0e4bd4c471a035c87ab137d6.tar.gz
emacs-config-72b4e0b83e90ba3a0e4bd4c471a035c87ab137d6.zip
[oni-elisp] Support highlighting negative numbers
-rw-r--r--oni-elisp/oni-elisp.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/oni-elisp/oni-elisp.el b/oni-elisp/oni-elisp.el
index a9d34ed..9eb62d5 100644
--- a/oni-elisp/oni-elisp.el
+++ b/oni-elisp/oni-elisp.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2021.0227.150704
+;; Version: 2021.0509.010120
;; Package-Requires: (oni-company oni-flycheck oni-paredit oni-fci oni-yasnippet oni-hydra rainbow-delimiters nameless erefactor flycheck-relint handle elisp-format)
;; This program is free software; you can redistribute it and/or modify
@@ -52,7 +52,8 @@
`((,(rx symbol-start
(group (or "t"
"nil"
- (and digit
+ (and (optional "-")
+ digit
(minimal-match (zero-or-more (any digit ?.))))))
symbol-end)
1 font-lock-constant-face)))