Skip to content

Commit

Permalink
fix: #739 The newest doom-modeline stops eglot from being shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Sep 5, 2024
1 parent 6714b50 commit 3134178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doom-modeline-segments.el
Original file line number Diff line number Diff line change
Expand Up @@ -2064,8 +2064,8 @@ mouse-1: Reload to start server")
(t 'doom-modeline-lsp-warning)))
(server-info (and server (eglot--server-info server)))
(server-name (or (plist-get server-info :name)
(jsonrpc-name server) ""))
(major-modes (or (and server-info (eglot--major-modes server)) ""))
(and server (jsonrpc-name server)) ""))
(major-modes (or (and server (eglot--major-modes server)) ""))
(icon (doom-modeline-lsp-icon eglot-menu-string face)))
(propertize icon
'help-echo (format "Eglot connected [%s]\n%s %s
Expand Down

0 comments on commit 3134178

Please sign in to comment.