From 72b4e0b83e90ba3a0e4bd4c471a035c87ab137d6 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 24 May 2021 19:47:53 -0700 Subject: [PATCH] [oni-elisp] Support highlighting negative numbers --- oni-elisp/oni-elisp.el | 5 +++-- 1 file 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 ;; 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)))