mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 11:09:54 +00:00
Improve: update lsp status.
This commit is contained in:
parent
3ab88cb57c
commit
1a77ba0690
1 changed files with 3 additions and 1 deletions
|
@ -1659,8 +1659,10 @@ mouse-1: Reload to start server")
|
|||
(interactive)
|
||||
(ignore-errors (revert-buffer t t))))))
|
||||
map)))))
|
||||
(add-hook 'lsp-mode-hook #'doom-modeline-update-lsp)
|
||||
(add-hook 'lsp-after-initialize-hook #'doom-modeline-update-lsp)
|
||||
(add-hook 'lsp-after-uninitialized-hook #'doom-modeline-update-lsp)
|
||||
(add-hook 'lsp-after-open-hook #'doom-modeline-update-lsp)
|
||||
(add-hook 'lsp-workspace-folders-changed-hook #'doom-modeline-update-lsp)
|
||||
|
||||
(defvar-local doom-modeline--eglot nil)
|
||||
(defun doom-modeline-update-eglot ()
|
||||
|
|
Loading…
Reference in a new issue