chore(startup): Make various modules more lazy-loaded

This should improve startup speed a little bit.
This commit is contained in:
2020-03-15 02:44:46 +00:00
parent ac3f851a52
commit efecb5172c
22 changed files with 51 additions and 49 deletions

View File

@@ -10,7 +10,7 @@
(require 'siren-lsp)
(use-package company-lsp
:commands company-lsp)
:defer t)
(provide 'siren-company-lsp)
;;; siren-company-lsp.el ends here

View File

@@ -10,9 +10,6 @@
(require 'siren-lsp)
(use-package helm-lsp
:commands
helm-lsp-workspace-symbol
helm-lsp-global-workspace-symbol
:bind
("C-c C-'" . helm-lsp-workspace-symbol))

View File

@@ -9,8 +9,7 @@
(require 'siren-lsp)
(use-package lsp-ui
:commands lsp-ui-mode
:defer t
:bind (:map lsp-ui-mode-map
("C-c C-d" . lsp-ui-doc-show)
("M-?" . lsp-ui-peek-find-references)

View File

@@ -7,8 +7,7 @@
;;; Code:
(use-package lsp-mode
:commands lsp
:defer t
:bind (:map lsp-mode-map
("C-c C-." . lsp-rename))