From 91ae8862d29c6eac2647e6cbcba707a7acc53ea4 Mon Sep 17 00:00:00 2001 From: odave Date: Wed, 18 Mar 2020 13:55:07 +0000 Subject: ~lsp-segment -> oreline-lsp-segment --- doom.d/modules/private/oreoline/config.el | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'doom.d') diff --git a/doom.d/modules/private/oreoline/config.el b/doom.d/modules/private/oreoline/config.el index 5cd30ad..6f14b73 100644 --- a/doom.d/modules/private/oreoline/config.el +++ b/doom.d/modules/private/oreoline/config.el @@ -25,20 +25,29 @@ (accent . (my-accent-light . my-accent-light)) (nil mode-line . mode-line-inactive)))) + ; LSP segment + (telephone-line-defsegment +oreoline-lsp-segment () + (after! lsp-mode + (if (lsp-workspaces) + (propertize "") + (propertize "")))) + ; LHS (setq telephone-line-lhs - '((evil . (telephone-line-evil-tag-segment)) + '((evil . (telephone-line-evil-tag-segment + telephone-line-buffer-modified-segment)) (accent . (telephone-line-vc-segment telephone-line-filesize-segment - telephone-line-projectile-buffer-segment + telephone-line-buffer-name-segment telephone-line-erc-modified-channels-segment - telephone-line-process-segment)))) + telephone-line-process-segment)) + (nil . ()))) ; RHS (setq telephone-line-rhs '((nil . (telephone-line-misc-info-segment)) (accent . (telephone-line-major-mode-segment - telephone-line-buffer-modified-segment + +oreoline-lsp-segment telephone-line-flycheck-segment)) (evil . (telephone-line-airline-position-segment)))) :config -- cgit v1.2.3-13-gbd6f