diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-15 21:48:06 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-06-15 21:48:06 -0400 |
| commit | 4a253492682ee5a40b619207093f5761214b799c (patch) | |
| tree | a1181ff4c630b46507c7568728ecd651498099da | |
| parent | Add `racket-mode` and `sicp` package for studying SICP (diff) | |
| download | mmosmacs-4a253492682ee5a40b619207093f5761214b799c.tar.gz mmosmacs-4a253492682ee5a40b619207093f5761214b799c.tar.bz2 mmosmacs-4a253492682ee5a40b619207093f5761214b799c.zip | |
Modify line-numbers appearance
| -rw-r--r-- | init.el | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -444,6 +444,18 @@ | |||
| 444 | vterm-mode-hook)) | 444 | vterm-mode-hook)) |
| 445 | (add-hook mode (lambda () (display-line-numbers-mode 0)))) | 445 | (add-hook mode (lambda () (display-line-numbers-mode 0)))) |
| 446 | 446 | ||
| 447 | ;; Customize appearance of line-numbers | ||
| 448 | (set-face-attribute 'line-number nil | ||
| 449 | :height 80 | ||
| 450 | :weight 'ultra-light | ||
| 451 | :foreground "#222" | ||
| 452 | :background "#0a0a0a") | ||
| 453 | (set-face-attribute 'line-number-current-line nil | ||
| 454 | :height 80 | ||
| 455 | :weight 'normal | ||
| 456 | :foreground "orange" | ||
| 457 | :background (face-attribute 'hl-line :background)) | ||
| 458 | |||
| 447 | 459 | ||
| 448 | 460 | ||
| 449 | ;; --------------------------------- | 461 | ;; --------------------------------- |