Add one space for the LSP indicator.

This commit is contained in:
Vincent Zhang 2019-05-14 01:56:01 +08:00
parent 8e16fc8380
commit 23c9278704

View file

@ -1607,7 +1607,7 @@ mouse-1: Reload to start server")
(interactive) (interactive)
(revert-buffer t t))))) (revert-buffer t t)))))
map))) map)))
" "))) " ")))
(add-hook 'lsp-mode-hook #'doom-modeline-update-lsp) (add-hook 'lsp-mode-hook #'doom-modeline-update-lsp)
(add-hook 'lsp-after-uninitialized-hook #'doom-modeline-update-lsp) (add-hook 'lsp-after-uninitialized-hook #'doom-modeline-update-lsp)
@ -1666,7 +1666,7 @@ mouse-3: Reconnect to server" nick (eglot--major-mode server)))
(define-key map [mode-line mouse-3] (define-key map [mode-line mouse-3]
#'eglot-reconnect))) #'eglot-reconnect)))
map)) map))
" ")))) " "))))
(add-hook 'eglot--managed-mode-hook #'doom-modeline-update-eglot) (add-hook 'eglot--managed-mode-hook #'doom-modeline-update-eglot)
(doom-modeline-def-segment lsp (doom-modeline-def-segment lsp