From fc2a4fd893a9eee11d50716a775cf4efcc69dc2a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 2 Feb 2018 15:25:41 +0100 Subject: Emacs: Fix lsp-imenu setup --- emacs/.emacs.d/main.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 2fbd6440..10dbe513 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -1915,7 +1915,9 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer." ;; Enable smart language features by communicating with an outside application. Neat. -(use-package lsp-mode +(use-package lsp-mode) + +(use-package lsp-imenu :config (progn (add-hook 'lsp-after-open-hook #'lsp-enable-imenu))) -- cgit 1.4.1