Add format module
This commit is contained in:
parent
ab89f8eff5
commit
f5cf4a37bd
@ -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")))
|
||||||
|
|
||||||
|
2
init.el
2
init.el
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user