aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-08-24 17:56:24 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-08-24 17:56:24 -0400
commit1336ab6b4b5e5d1148f6708b701869674cfc6623 (patch)
tree52fd62de2e80d961a4340ec366d574e9cb7ec6cb /init.el
parentAdd more default named workspaces (diff)
downloadmmosmacs-1336ab6b4b5e5d1148f6708b701869674cfc6623.tar.gz
mmosmacs-1336ab6b4b5e5d1148f6708b701869674cfc6623.tar.bz2
mmosmacs-1336ab6b4b5e5d1148f6708b701869674cfc6623.zip
Improve syntax highlighting
Diffstat (limited to 'init.el')
-rw-r--r--init.el23
1 files changed, 23 insertions, 0 deletions
diff --git a/init.el b/init.el
index 13b46cd..7da7273 100644
--- a/init.el
+++ b/init.el
@@ -278,10 +278,33 @@
278;; Noto Sans. 278;; Noto Sans.
279;; --------------------------------- 279;; ---------------------------------
280 280
281;; Fonts
281(set-face-attribute 'default nil :font "JetBrains Mono" :height 100) 282(set-face-attribute 'default nil :font "JetBrains Mono" :height 100)
282(set-face-attribute 'fixed-pitch nil :font "JetBrains Mono" :height 100) 283(set-face-attribute 'fixed-pitch nil :font "JetBrains Mono" :height 100)
283(set-face-attribute 'variable-pitch nil :font "Noto Sans" :height 110 :weight 'regular) 284(set-face-attribute 'variable-pitch nil :font "Noto Sans" :height 110 :weight 'regular)
284 285
286;; Syntax highlighting
287(use-package lisp-extra-font-lock
288 :straight t)
289(lisp-extra-font-lock-global-mode)
290
291(custom-set-faces '(font-lock-warning-face
292 ((t :foreground "black"
293 :background "firebrick"
294 :bold nil
295 :underline nil
296 :inherit nil))))
297(custom-set-faces '(lisp-extra-font-lock-special-variable-name
298 ((t :foreground "tomato"
299 :inherit nil))))
300(custom-set-faces '(font-lock-constant-face
301 ((t :foreground "SaddleBrown"
302 :inherit nil))))
303
304(custom-set-faces '(lisp-extra-font-lock-quoted
305 ((t :foreground "RoyalBlue"
306 :inherit nil))))
307
285 308
286;; --------------------------------- 309;; ---------------------------------
287;; Modeline 310;; Modeline