diff options
author | Alan Pearce | 2018-02-02 15:25:41 +0100 |
---|---|---|
committer | Alan Pearce | 2018-02-02 15:25:41 +0100 |
commit | fc2a4fd893a9eee11d50716a775cf4efcc69dc2a (patch) | |
tree | 3b11c7688cb6a0578ab35fe38f07fc450cbd8324 | |
parent | 3bfc1bd6c3b8eaa830cb7df8e9db6f0f0ca13101 (diff) | |
download | nixfiles-fc2a4fd893a9eee11d50716a775cf4efcc69dc2a.tar.lz nixfiles-fc2a4fd893a9eee11d50716a775cf4efcc69dc2a.tar.zst nixfiles-fc2a4fd893a9eee11d50716a775cf4efcc69dc2a.zip |
Emacs: Fix lsp-imenu setup
-rw-r--r-- | emacs/.emacs.d/main.el | 4 |
1 files changed, 3 insertions, 1 deletions
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))) |