diff --git a/oni-elisp/oni-elisp.el b/oni-elisp/oni-elisp.el index 18c6426..f5211b4 100644 --- a/oni-elisp/oni-elisp.el +++ b/oni-elisp/oni-elisp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0616.215511 +;; Version: 2020.0616.221949 ;; 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 @@ -45,6 +45,16 @@ (expand-file-name "snippets" oni-elisp-root) "The directory where ‘oni-elisp’ stores its snippets.") +(font-lock-add-keywords + 'emacs-lisp-mode + `((,(rx symbol-start + (group (or "t" + "nil" + (and digit + (minimal-match (zero-or-more (any digit ?.)))))) + symbol-end) + 1 font-lock-constant-face))) + ;;;###autoload (defun oni-elisp-snippets-initialize () "Initialize the snippets for ‘oni-elisp’."