[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>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; 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)
|
;; 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
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -52,7 +52,8 @@
|
||||||
`((,(rx symbol-start
|
`((,(rx symbol-start
|
||||||
(group (or "t"
|
(group (or "t"
|
||||||
"nil"
|
"nil"
|
||||||
(and digit
|
(and (optional "-")
|
||||||
|
digit
|
||||||
(minimal-match (zero-or-more (any digit ?.))))))
|
(minimal-match (zero-or-more (any digit ?.))))))
|
||||||
symbol-end)
|
symbol-end)
|
||||||
1 font-lock-constant-face)))
|
1 font-lock-constant-face)))
|
||||||
|
|
Loading…
Reference in a new issue