did some stuff for better formatting in doom

This commit is contained in:
Zastian Pretorius
2022-07-26 14:05:35 +01:00
parent 851c6d9c56
commit 76ad26a449
3 changed files with 13 additions and 1 deletions

View File

@@ -39,6 +39,17 @@
doom-variable-pitch-font (font-spec :family "Ubuntu Mono" :size 15)
doom-big-font (font-spec :family "Ubuntu Mono" :size 24))
(require 'whitespace)
(setq whitespace-line-column 99)
(setq whitespace-style '(face lines-tail))
(add-hook 'prog-mode-hook 'whitespace-mode)
(require 'fill-column-indicator)
(setq fci-rule-column 99)
(setq fci-rule-width 1)
(setq fci-rule-color "#a280d5")
(add-hook 'prog-mode-hook 'fci-mode)
(custom-set-faces
'(org-level-1 ((t (:inherit outline-1 :height 1.4))))

View File

@@ -55,7 +55,7 @@
(evil +everywhere); come to the dark side, we have cookies
file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding
;;(format +onsave) ; automated prettiness
(format +onsave) ; automated prettiness
;;god ; run Emacs commands without modifier keys
;;lispy ; vim for lisp, for people who don't like vim
;;multiple-cursors ; editing in many places at once

View File

@@ -48,6 +48,7 @@
;(unpin! pinned-package another-pinned-package)
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
;(unpin! t)
(package! fill-column-indicator)
(package! rainbow-mode)
(package! poly-org)
(package! ein)