From 37cc1c0e64e5bce3bc1de87d690746ec35080247 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 18 Feb 2020 16:05:16 +0100 Subject: Emacs: remove use-package calls for non-packages --- user/emacs/.emacs.d/init.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'user/emacs/.emacs.d') diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el index 8875ef54..cac4e6e6 100644 --- a/user/emacs/.emacs.d/init.el +++ b/user/emacs/.emacs.d/init.el @@ -381,12 +381,11 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package evil-org :after org :commands (evil-org-set-key-theme) + :init (progn + (add-hook 'org-agenda-mode-hook #'evil-org-agenda-set-keys)) :ghook ('org-mode-hook #'evil-org-mode) :gfhook #'evil-org-set-key-theme) -(use-package evil-org-agenda - :after org - :ghook ('org-agenda-mode-hook #'evil-org-agenda-set-keys)) ;;; Projects @@ -871,9 +870,6 @@ _p_rev _u_pper _=_: upper/lower _r_esolve lsp-enable-symbol-highlighting nil) (add-to-list 'lsp-language-id-configuration '(js-mode . "javascript")))) -(use-package lsp-clients - :after (lsp-mode)) - (use-package lsp-ui :after lsp-mode :ghook ('lsp-mode-hook) -- cgit 1.4.1