[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot 73d3774 24/54: Fix #351: locally tweak imenu-crea
From: |
Jo�o T�vora |
Subject: |
[elpa] externals/eglot 73d3774 24/54: Fix #351: locally tweak imenu-create-index-function |
Date: |
Thu, 16 Apr 2020 05:31:48 -0400 (EDT) |
branch: externals/eglot
commit 73d3774ffb68ebd5596e517c2b5e9594e5a55605
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Fix #351: locally tweak imenu-create-index-function
* eglot.el (eglot--managed-mode): locally tweak
imenu-create-index-function.
---
eglot.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eglot.el b/eglot.el
index c25b7b7..a327655 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1247,7 +1247,8 @@ For example, to keep your Company customization use
(eglot--setq-saving company-backends '(company-capf))
(eglot--setq-saving company-tooltip-align-annotations t)
(unless (eglot--stay-out-of-p 'imenu)
- (add-function :before-until imenu-create-index-function #'eglot-imenu))
+ (add-function :before-until (local 'imenu-create-index-function)
+ #'eglot-imenu))
(flymake-mode 1)
(eldoc-mode 1)
(cl-pushnew (current-buffer) (eglot--managed-buffers
eglot--cached-current-server)))
@@ -1267,6 +1268,7 @@ For example, to keep your Company customization use
(remove-hook 'pre-command-hook 'eglot--pre-command-hook t)
(cl-loop for (var . saved-binding) in eglot--saved-bindings
do (set (make-local-variable var) saved-binding))
+ (remove-function (local 'imenu-create-index-function) #'eglot-imenu)
(setq eglot--current-flymake-report-fn nil)
(let ((server eglot--cached-current-server))
(setq eglot--cached-current-server nil)
- [elpa] externals/eglot 678feb9 21/54: * eglot.el (eglot-completion-at-point): Remove spurious unrelated change., (continued)
- [elpa] externals/eglot 678feb9 21/54: * eglot.el (eglot-completion-at-point): Remove spurious unrelated change., Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 53056a5 22/54: Fix #349: waste less space in completion annotations, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 02f71fd 26/54: Make Travis run company-specific tests, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot a7a2b52 27/54: Fix #362: unbreak window/showMessageRequest, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot add568b 28/54: Fix #357: allow non-standard keys in textDocument/publishDiagnostics., Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 3879d57 33/54: * eglot.el (eglot-eldoc-function): Fix outdated docstring., Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot a4c83a6 37/54: Merge pull request #400 from joaotavora/scratch/fix-277-exit-notification, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 7c48c7a 39/54: Document the changes in column calculation, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 2fdffef 41/54: Close #405: support bug-reference-prog-mode, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot ce53ca4 44/54: Close #315: introduce and use eglot--{}, the empty JSON object, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 73d3774 24/54: Fix #351: locally tweak imenu-create-index-function,
Jo�o T�vora <=
- [elpa] externals/eglot b0fdfb0 30/54: Close #379: add built-in support for TeX and friends, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot c9fcbce 32/54: Close #383: add elm-language-server as the language server for Elm, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 4b453dc 35/54: Fix #389: avoid double shutdowns and simplify shutdown logic, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 633979e 38/54: Fix #361: abide by LSP when reporting and moving to columns, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot ae0943f 40/54: Revert the last change about column calculation, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot e53dd5c 46/54: Per #354: make a public reader for project-nickname, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 4f6e152 51/54: Fix #430: send shutdown and exit messages without arguments, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 8332cdf 52/54: Fix eglot-move-to-lsp-abiding-column (#361), Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 864a493 50/54: Close #323: add a simple github issue template, Jo�o T�vora, 2020/04/16
- [elpa] externals/eglot 4496657 34/54: Close #393: use completing-read in eglot-code-actions, Jo�o T�vora, 2020/04/16