Use :after
This commit is contained in:
parent
445063561b
commit
0f2faf58ac
20
init.el
20
init.el
|
@ -156,7 +156,8 @@
|
|||
(global-tree-sitter-mode +1))
|
||||
|
||||
;; Rust support
|
||||
(use-package rustic)
|
||||
(use-package rustic
|
||||
:after lsp-mode)
|
||||
|
||||
;; Nix support
|
||||
(use-package nix-mode
|
||||
|
@ -166,6 +167,7 @@
|
|||
|
||||
;; Treesitter based navigation
|
||||
(use-package evil-textobj-tree-sitter
|
||||
:after (evil tree-sitter)
|
||||
:config
|
||||
(let ((define-scope (lambda (key outer inner)
|
||||
(define-key evil-outer-text-objects-map key outer)
|
||||
|
@ -199,6 +201,7 @@
|
|||
|
||||
;; Highlight operations
|
||||
(use-package evil-goggles
|
||||
:after evil
|
||||
:init
|
||||
(setq evil-goggles-duration 0.15)
|
||||
:config
|
||||
|
@ -220,9 +223,12 @@
|
|||
(treemacs-follow-mode +1)
|
||||
(treemacs-tag-follow-mode +1)
|
||||
(treemacs-project-follow-mode +1))
|
||||
(use-package treemacs-evil)
|
||||
(use-package treemacs-projectile)
|
||||
(use-package treemacs-magit)
|
||||
(use-package treemacs-evil
|
||||
:after (treemacs evil))
|
||||
(use-package treemacs-projectile
|
||||
:after (treemacs projectile))
|
||||
(use-package treemacs-magit
|
||||
:after (treemacs magit))
|
||||
|
||||
;; Explanations for keybindings
|
||||
(use-package which-key
|
||||
|
@ -273,6 +279,7 @@
|
|||
(add-hook 'evil-insert-state-exit-hook #'lsp-signature-stop))
|
||||
|
||||
(use-package lsp-ui
|
||||
:after lsp-mode
|
||||
:init
|
||||
(setq lsp-ui-doc-position 'at-point
|
||||
lsp-ui-doc-delay 0.5)
|
||||
|
@ -294,6 +301,9 @@
|
|||
(define-key lsp-ui-peek-mode-map (kbd "J") #'lsp-ui-peek--select-next-file)
|
||||
(define-key lsp-ui-peek-mode-map (kbd "K") #'lsp-ui-peek--select-prev-file)
|
||||
(define-key lsp-ui-peek-mode-map (kbd "o") #'lsp-ui-peek--goto-xref))
|
||||
(use-package lsp-treemacs)
|
||||
|
||||
(use-package lsp-treemacs
|
||||
:after (lsp-mode treemacs))
|
||||
|
||||
(setq gc-cons-threshold (* 1024 1024 100)
|
||||
read-process-output-max (* 1024 1024))
|
||||
|
|
Loading…
Reference in a new issue