mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 17:31:37 -05:00
Remove extra space in buffer-encoding segment.
This commit is contained in:
parent
2d7928a328
commit
b1ad832208
1 changed files with 3 additions and 5 deletions
|
@ -467,9 +467,9 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
(let ((eol (coding-system-eol-type buffer-file-coding-system)))
|
(let ((eol (coding-system-eol-type buffer-file-coding-system)))
|
||||||
(propertize
|
(propertize
|
||||||
(pcase eol
|
(pcase eol
|
||||||
(0 "LF")
|
(0 "LF ")
|
||||||
(1 "CRLF")
|
(1 "CRLF ")
|
||||||
(2 "CR")
|
(2 "CR ")
|
||||||
(_ ""))
|
(_ ""))
|
||||||
'face face
|
'face face
|
||||||
'mouse-face mouse-face
|
'mouse-face mouse-face
|
||||||
|
@ -483,8 +483,6 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
(define-key map [mode-line mouse-1] 'mode-line-change-eol)
|
(define-key map [mode-line mouse-1] 'mode-line-change-eol)
|
||||||
map)))
|
map)))
|
||||||
|
|
||||||
(doom-modeline-spc)
|
|
||||||
|
|
||||||
;; coding system
|
;; coding system
|
||||||
(propertize
|
(propertize
|
||||||
(let ((sys (coding-system-plist buffer-file-coding-system)))
|
(let ((sys (coding-system-plist buffer-file-coding-system)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue