[oni-elisp] Support highlighting negative numbers
This commit is contained in:
parent
53ed90be40
commit
72b4e0b83e
1 changed files with 3 additions and 2 deletions
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue