format doom config file

Amolith created

Change summary

dot_config/doom/config.el.tmpl | 58 ++++++++++++++++++------------------
1 file changed, 29 insertions(+), 29 deletions(-)

Detailed changes

dot_config/doom/config.el.tmpl ๐Ÿ”—

@@ -19,10 +19,10 @@
 (setq display-line-numbers-type t)
 
 (use-package smooth-scrolling
-  :ensure t
-  :config
-  (smooth-scrolling-mode 1)
-  (setq smooth-scroll-margin 20))
+    :ensure t
+    :config
+    (smooth-scrolling-mode 1)
+    (setq smooth-scroll-margin 20))
 
 (global-prettify-symbols-mode t)
 
@@ -47,7 +47,7 @@
 (setq org-directory "~/Org/")
 
 (use-package org-bullets
-  :init
+    :init
   (add-hook 'org-mode-hook 'org-bullets-mode))
 
 (setq org-ellipsis " โคต")
@@ -66,13 +66,13 @@
 (setq org-export-with-smart-quotes t)
 
 (use-package helm-bibtex
-  :custom
+    :custom
   (helm-bibtex-bibliography '("~/Documents/citations.bib"))
   (reftex-default-bibliography '("~/Documents/citations.bib"))
   (bibtex-completion-pdf-field "file")
   :hook (Tex . (lambda () (define-key Tex-mode-map "\C-ch" 'helm-bibtex))))
 (use-package org-ref
-  :custom
+    :custom
   (org-ref-default-bibliography "~/Documents/citations.bib"))
 (defun org-export-latex-no-toc (depth)
   (when depth
@@ -110,7 +110,7 @@
           prose-modes))
 
 (use-package flyspell
-  :config
+    :config
   (dolist (hook prose-mode-hooks)
     (add-hook hook 'flyspell-mode)))
 
@@ -118,13 +118,13 @@
   (add-hook hook 'turn-on-auto-fill))
 
 (use-package markdown-mode
-  :commands gfm-mode
-  :mode (("\\.md$" . gfm-mode))
-  :config
-  (custom-set-faces
-   '(markdown-pre-face ((t nil))))
-  (setq markdown-command "pandoc --standalone --mathjax --from=markdown"
-        markdown-fontify-code-blocks-natively t))
+    :commands gfm-mode
+    :mode (("\\.md$" . gfm-mode))
+    :config
+    (custom-set-faces
+     '(markdown-pre-face ((t nil))))
+    (setq markdown-command "pandoc --standalone --mathjax --from=markdown"
+          markdown-fontify-code-blocks-natively t))
 
 (defun amo/append-to-path (path)
   (setenv "PATH" (concat (getenv "PATH") ":" path))
@@ -168,21 +168,21 @@
 (after! mu4e (load "~/.config/doom/extra/mu4e.el"))
 
 (use-package edit-server
-  :ensure t
-  :commands edit-server-start
-  :init (if after-init-time
+    :ensure t
+    :commands edit-server-start
+    :init (if after-init-time
               (edit-server-start)
-            (add-hook 'after-init-hook
-                      #'(lambda() (edit-server-start))))
-  :config (setq edit-server-new-frame-alist
-                '((name . "Edit with Emacs FRAME")
-                  (top . 200)
-                  (left . 200)
-                  (width . 80)
-                  (height . 25)
-                  (minibuffer . t)
-                  (menu-bar-lines . t)
-                  (window-system . x))))
+              (add-hook 'after-init-hook
+                        #'(lambda() (edit-server-start))))
+    :config (setq edit-server-new-frame-alist
+                  '((name . "Edit with Emacs FRAME")
+                    (top . 200)
+                    (left . 200)
+                    (width . 80)
+                    (height . 25)
+                    (minibuffer . t)
+                    (menu-bar-lines . t)
+                    (window-system . x))))
 
 (use-package codeium
     :init