1
0
Fork 0

[oni-elisp] Support highlighting negative numbers

This commit is contained in:
Tom Willemse 2021-05-24 19:47:53 -07:00
parent 53ed90be40
commit 72b4e0b83e

View file

@ -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)))