diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-06 21:40:04 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-06 21:40:04 +0100 |
commit | 871b6f24c50769995258c3bbab26f9dc491771d7 (patch) | |
tree | 26ea23585244bcac378d77103d637d9e774b3b54 /Doom/.doom.d/modules/private/oreoline/config.el | |
parent | e053ef3d2c444899121255f80c94ea289a453379 (diff) | |
download | dotfiles-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/.doom.d/modules/private/oreoline/config.el')
-rw-r--r-- | Doom/.doom.d/modules/private/oreoline/config.el | 6 |
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 |