Add format module

This commit is contained in:
Wojciech Kozlowski 2022-04-08 21:32:56 +02:00
parent ab89f8eff5
commit f5cf4a37bd
2 changed files with 4 additions and 1 deletions

View File

@ -106,6 +106,9 @@
;; Always open magit in other window. ;; Always open magit in other window.
(after! magit (setq magit-display-buffer-function #'magit-display-buffer-traditional)) (after! magit (setq magit-display-buffer-function #'magit-display-buffer-traditional))
;; Don't use the LSP formatter.
(after! lsp (setq +format-with-lsp nil))
;; Python virtualenv configuration. ;; Python virtualenv configuration.
(after! lsp-pyright (setq lsp-pyright-venv-path (concat (getenv "HOME") "/.virtualenvs"))) (after! lsp-pyright (setq lsp-pyright-venv-path (concat (getenv "HOME") "/.virtualenvs")))

View File

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