Add highlight-numbers-mode to python & elisp
This commit is contained in:
parent
4aece988ff
commit
be46654629
2 changed files with 5 additions and 3 deletions
|
@ -24,7 +24,6 @@
|
|||
(add-hook 'before-save-hook #'delete-trailing-whitespace nil t)
|
||||
|
||||
(eldoc-mode +1)
|
||||
(highlight-quoted-mode +1)
|
||||
(auto-compile-on-save-mode +1)
|
||||
(rainbow-delimiters-mode +1)
|
||||
|
||||
|
@ -32,6 +31,9 @@
|
|||
(not (file-in-directory-p buffer-file-name doom-emacs-dir)))
|
||||
(flycheck-mode +1))
|
||||
|
||||
;; improve fontification
|
||||
(highlight-quoted-mode +1)
|
||||
(highlight-numbers-mode +1)
|
||||
(font-lock-add-keywords
|
||||
nil `(;; Display "lambda" as λ
|
||||
("(\\(lambda\\)" (1 (ignore (compose-region (match-beginning 1) (match-end 1) ?λ #'decompose-region))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue