mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 19:19:53 +00:00
Only show vcs and flycheck states in current window.
This commit is contained in:
parent
176307f66c
commit
bd36eb9a98
1 changed files with 6 additions and 2 deletions
|
@ -690,7 +690,9 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
|
|
||||||
(doom-modeline-def-segment vcs
|
(doom-modeline-def-segment vcs
|
||||||
"Displays the current branch, colored based on its state."
|
"Displays the current branch, colored based on its state."
|
||||||
doom-modeline--vcs)
|
(if (doom-modeline--active)
|
||||||
|
doom-modeline--vcs
|
||||||
|
""))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
@ -736,7 +738,9 @@ Uses `all-the-icons-material' to fetch the icon."
|
||||||
(doom-modeline-def-segment flycheck
|
(doom-modeline-def-segment flycheck
|
||||||
"Displays color-coded flycheck error status in the current buffer with pretty
|
"Displays color-coded flycheck error status in the current buffer with pretty
|
||||||
icons."
|
icons."
|
||||||
doom-modeline--flycheck)
|
(if (doom-modeline--active)
|
||||||
|
doom-modeline--flycheck
|
||||||
|
""))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue