update doom configuration

This commit is contained in:
ksyasuda 2021-10-26 18:48:16 -07:00
parent dfea492d15
commit 264238ba59
3 changed files with 26 additions and 3 deletions

View File

@ -80,6 +80,9 @@
(setq lsp-pyls-plugins-pyflakes-enabled t)
)
(after! lsp-python-ms
(set-lsp-priority! 'mspyls 1))
(add-hook 'org-mode-hook #'org-bullets-mode)
(add-hook 'before-save-hook 'py-isort-before-save)
@ -114,3 +117,21 @@ was updated after pytest was run then nothing is reported.
'org-babel-load-languages
'((python . t)))
(setq projectile-project-search-path '("~/Projects/" "~/Work/Projects/"))
(setf (lsp-session-folders-blacklist (lsp-session)) nil)
(lsp--persist-session (lsp-session))
(advice-add 'lsp :before (lambda (&rest _args) (eval '(setf (lsp-session-server-id->folders (lsp-session)) (ht)))))
(add-load-path! (expand-file-name "~/Downloads/all-the-icons-dired"))
(load "all-the-icons-dired.el")
(add-hook 'dired-mode-hook 'all-the-icons-dired-mode)
(use-package! peep-dired
:ensure t
:defer t ; don't access `dired-mode-map' until `peep-dired' is loaded
:bind (:map dired-mode-map
("P" . peep-dired)))

View File

@ -43,7 +43,7 @@
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
;;tabs ; a tab bar for Emacs
treemacs ; a project drawer, like neotree but cooler
(treemacs +lsp) ; a project drawer, like neotree but cooler
unicode ; extended unicode support for various languages
vc-gutter ; vcs diff in the fringe
vi-tilde-fringe ; fringe tildes to mark beyond EOB
@ -66,7 +66,7 @@
word-wrap ; soft wrapping with language-aware indent
:emacs
dired ; making dired pretty [functional]
(dired +icons) ; making dired pretty [functional]
electric ; smarter, keyword-based electric-indent
;;ibuffer ; interactive buffer management
undo ; persistent, smarter undo for your inevitable mistakes
@ -152,7 +152,7 @@
;;php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional
(python +lsp) ; beautiful is better than ugly
(python +lsp +pyenv) ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6

View File

@ -58,3 +58,5 @@
(package! ein)
(package! python-docstring)
(package! py-autopep8)
(package! diredfl)
(package! peep-dired)