aboutsummaryrefslogtreecommitdiff
path: root/Doom
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-06 21:40:04 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-06 21:40:04 +0100
commit871b6f24c50769995258c3bbab26f9dc491771d7 (patch)
tree26ea23585244bcac378d77103d637d9e774b3b54 /Doom
parente053ef3d2c444899121255f80c94ea289a453379 (diff)
downloaddotfiles-871b6f24c50769995258c3bbab26f9dc491771d7.tar.gz
dotfiles-871b6f24c50769995258c3bbab26f9dc491771d7.tar.bz2
dotfiles-871b6f24c50769995258c3bbab26f9dc491771d7.zip
~better implementation of lsp segment
Checks if lsp-workspaces has been defined.
Diffstat (limited to 'Doom')
-rw-r--r--Doom/.doom.d/modules/private/oreoline/config.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doom/.doom.d/modules/private/oreoline/config.el b/Doom/.doom.d/modules/private/oreoline/config.el
index c91b4f6..c81fa95 100644
--- a/Doom/.doom.d/modules/private/oreoline/config.el
+++ b/Doom/.doom.d/modules/private/oreoline/config.el
@@ -32,9 +32,9 @@
; LSP segment
(telephone-line-defsegment +oreoline-lsp-segment ()
- `((:propertize (if (lsp-workspaces)
- (propertize "")
- (propertize "")))))
+ (if (fboundp #'lsp-workspaces)
+ (propertize "")
+ (propertize "")))
; LHS
(setq telephone-line-lhs