~better implementation of lsp segment
Checks if lsp-workspaces has been defined.
This commit is contained in:
@@ -32,9 +32,9 @@
|
|||||||
|
|
||||||
; LSP segment
|
; LSP segment
|
||||||
(telephone-line-defsegment +oreoline-lsp-segment ()
|
(telephone-line-defsegment +oreoline-lsp-segment ()
|
||||||
`((:propertize (if (lsp-workspaces)
|
(if (fboundp #'lsp-workspaces)
|
||||||
(propertize "")
|
(propertize "")
|
||||||
(propertize "")))))
|
(propertize "")))
|
||||||
|
|
||||||
; LHS
|
; LHS
|
||||||
(setq telephone-line-lhs
|
(setq telephone-line-lhs
|
||||||
|
|||||||
Reference in New Issue
Block a user