mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
update doom configuration
This commit is contained in:
parent
dfea492d15
commit
264238ba59
@ -80,6 +80,9 @@
|
|||||||
(setq lsp-pyls-plugins-pyflakes-enabled t)
|
(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 'org-mode-hook #'org-bullets-mode)
|
||||||
|
|
||||||
(add-hook 'before-save-hook 'py-isort-before-save)
|
(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
|
'org-babel-load-languages
|
||||||
'((python . t)))
|
'((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)))
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
ophints ; highlight the region an operation acts on
|
ophints ; highlight the region an operation acts on
|
||||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
;;tabs ; a tab bar for Emacs
|
;;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
|
unicode ; extended unicode support for various languages
|
||||||
vc-gutter ; vcs diff in the fringe
|
vc-gutter ; vcs diff in the fringe
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
@ -66,7 +66,7 @@
|
|||||||
word-wrap ; soft wrapping with language-aware indent
|
word-wrap ; soft wrapping with language-aware indent
|
||||||
|
|
||||||
:emacs
|
:emacs
|
||||||
dired ; making dired pretty [functional]
|
(dired +icons) ; making dired pretty [functional]
|
||||||
electric ; smarter, keyword-based electric-indent
|
electric ; smarter, keyword-based electric-indent
|
||||||
;;ibuffer ; interactive buffer management
|
;;ibuffer ; interactive buffer management
|
||||||
undo ; persistent, smarter undo for your inevitable mistakes
|
undo ; persistent, smarter undo for your inevitable mistakes
|
||||||
@ -152,7 +152,7 @@
|
|||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;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
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
|
@ -58,3 +58,5 @@
|
|||||||
(package! ein)
|
(package! ein)
|
||||||
(package! python-docstring)
|
(package! python-docstring)
|
||||||
(package! py-autopep8)
|
(package! py-autopep8)
|
||||||
|
(package! diredfl)
|
||||||
|
(package! peep-dired)
|
||||||
|
Loading…
Reference in New Issue
Block a user