From 1336ab6b4b5e5d1148f6708b701869674cfc6623 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Thu, 24 Aug 2023 17:56:24 -0400 Subject: Improve syntax highlighting --- init.el | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 13b46cd..7da7273 100644 --- a/init.el +++ b/init.el @@ -278,10 +278,33 @@ ;; Noto Sans. ;; --------------------------------- +;; Fonts (set-face-attribute 'default nil :font "JetBrains Mono" :height 100) (set-face-attribute 'fixed-pitch nil :font "JetBrains Mono" :height 100) (set-face-attribute 'variable-pitch nil :font "Noto Sans" :height 110 :weight 'regular) +;; Syntax highlighting +(use-package lisp-extra-font-lock + :straight t) +(lisp-extra-font-lock-global-mode) + +(custom-set-faces '(font-lock-warning-face + ((t :foreground "black" + :background "firebrick" + :bold nil + :underline nil + :inherit nil)))) +(custom-set-faces '(lisp-extra-font-lock-special-variable-name + ((t :foreground "tomato" + :inherit nil)))) +(custom-set-faces '(font-lock-constant-face + ((t :foreground "SaddleBrown" + :inherit nil)))) + +(custom-set-faces '(lisp-extra-font-lock-quoted + ((t :foreground "RoyalBlue" + :inherit nil)))) + ;; --------------------------------- ;; Modeline -- cgit v1.2.3