Remove third line in section headers
This is truly important stuff. We've saved many lives with this update.
This commit is contained in:
parent
50fdaa0ed5
commit
7d3ffdff06
101 changed files with 64 additions and 283 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
;;
|
||||
;; Modeline library
|
||||
;;
|
||||
|
||||
(defvar doom--modeline-fn-alist ())
|
||||
(defvar doom--modeline-var-alist ())
|
||||
|
@ -89,7 +88,6 @@ DEFAULT is non-nil, set the default mode-line for all buffers."
|
|||
|
||||
;;
|
||||
;; Custom faces
|
||||
;;
|
||||
|
||||
(defgroup +doom-modeline nil
|
||||
"TODO"
|
||||
|
@ -157,8 +155,7 @@ active."
|
|||
|
||||
|
||||
;;
|
||||
;; Plugins
|
||||
;;
|
||||
;; Packages
|
||||
|
||||
;; anzu and evil-anzu expose current/total state that can be displayed in the
|
||||
;; mode-line.
|
||||
|
@ -229,7 +226,6 @@ active."
|
|||
|
||||
;;
|
||||
;; Variables
|
||||
;;
|
||||
|
||||
(defvar +doom-modeline-height 23
|
||||
"How tall the mode-line should be (only respected in GUI emacs).")
|
||||
|
@ -260,7 +256,6 @@ file-name => comint.el")
|
|||
|
||||
;;
|
||||
;; Modeline helpers
|
||||
;;
|
||||
|
||||
(defun active ()
|
||||
(eq (selected-window) +doom-modeline-current-window))
|
||||
|
@ -389,7 +384,6 @@ Example:
|
|||
|
||||
;;
|
||||
;; buffer information
|
||||
;;
|
||||
|
||||
(def-modeline-segment! buffer-default-directory
|
||||
"Displays `default-directory'. This is for special buffers like the scratch
|
||||
|
@ -479,7 +473,6 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
|||
|
||||
;;
|
||||
;; major-mode
|
||||
;;
|
||||
|
||||
(def-modeline-segment! major-mode
|
||||
"The major mode, including process, environment and text-scale info."
|
||||
|
@ -495,7 +488,6 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
|||
|
||||
;;
|
||||
;; vcs
|
||||
;;
|
||||
|
||||
(defvar-local +doom-modeline--vcs nil)
|
||||
(defun +doom-modeline--update-vcs ()
|
||||
|
@ -544,7 +536,6 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
|||
|
||||
;;
|
||||
;; flycheck
|
||||
;;
|
||||
|
||||
(defvar +doom-modeline-vspc
|
||||
(propertize " " 'face 'variable-pitch)
|
||||
|
@ -589,7 +580,6 @@ icons."
|
|||
|
||||
;;
|
||||
;; selection-info
|
||||
;;
|
||||
|
||||
(defsubst doom-column (pos)
|
||||
(save-excursion (goto-char pos)
|
||||
|
@ -629,7 +619,6 @@ lines are selected, or the NxM dimensions of a block selection."
|
|||
|
||||
;;
|
||||
;; matches (anzu, evil-substitute, iedit, macro)
|
||||
;;
|
||||
|
||||
(defun +doom-modeline--macro-recording ()
|
||||
"Display current Emacs or evil macro being recorded."
|
||||
|
@ -715,7 +704,6 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions."
|
|||
|
||||
;;
|
||||
;; media-info
|
||||
;;
|
||||
|
||||
(def-modeline-segment! media-info
|
||||
"Metadata regarding the current file, such as dimensions for images."
|
||||
|
@ -728,7 +716,6 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions."
|
|||
|
||||
;;
|
||||
;; bar
|
||||
;;
|
||||
|
||||
(defvar +doom-modeline--bar-active nil)
|
||||
(defvar +doom-modeline--bar-inactive nil)
|
||||
|
@ -759,7 +746,6 @@ Returns \"\" to not break --no-window-system."
|
|||
|
||||
;;
|
||||
;; Mode lines
|
||||
;;
|
||||
|
||||
(def-modeline! 'main
|
||||
'(bar matches " " buffer-info " %l:%c %p " selection-info)
|
||||
|
@ -784,7 +770,6 @@ Returns \"\" to not break --no-window-system."
|
|||
|
||||
;;
|
||||
;; Hooks
|
||||
;;
|
||||
|
||||
(defun +doom-modeline|refresh-bars (&optional width height)
|
||||
(setq +doom-modeline--bar-active
|
||||
|
@ -818,7 +803,6 @@ Returns \"\" to not break --no-window-system."
|
|||
|
||||
;;
|
||||
;; Bootstrap
|
||||
;;
|
||||
|
||||
(doom-set-modeline 'main t) ; set default modeline
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue