aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-07-02 00:55:48 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-07-02 00:55:48 +0100
commite2dba6be7606fa8d9a08170da9add39a133bb5c0 (patch)
treefa691b0d03cf99739e92269bb4909a9fdedcbb1b /Emacs/.config/emacs/config.org
parentb50d05e5a9937e9c113a1e610ba81b10f48eef0b (diff)
downloaddotfiles-e2dba6be7606fa8d9a08170da9add39a133bb5c0.tar.gz
dotfiles-e2dba6be7606fa8d9a08170da9add39a133bb5c0.tar.bz2
dotfiles-e2dba6be7606fa8d9a08170da9add39a133bb5c0.zip
(Emacs/config)~Fix up some stuff in mode line
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index b1f040e..b56efd2 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -324,14 +324,14 @@ the mode line to achieve this.
)
+better-mode-line/right-segment ;; RIGHT SEGMENT
'((:eval (if (project-current) ;; Name of current project (if any)
- (project-name
- (project-current))))
- (vc-mode vc-mode) ;; Git branch (if any)
- " "
+ (concat (project-name
+ (project-current))
+ vc-mode) ;; ... with git branch
+ ""))
(:eval ;; LSP information
(with-eval-after-load "eglot"
(if eglot--managed-mode
- (eglot--mode-line-format))))
+ (concat " " (eglot--mode-line-format)))))
mode-line-misc-info ;; Any other information
))
:config