mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Fix: quote -> backquote.
This commit is contained in:
parent
da777a87c1
commit
2b87b94af5
1 changed files with 11 additions and 11 deletions
|
@ -439,12 +439,12 @@ active."
|
||||||
"Propertized `buffer-file-name' based on `doom-modeline-buffer-file-name-style'."
|
"Propertized `buffer-file-name' based on `doom-modeline-buffer-file-name-style'."
|
||||||
(propertize
|
(propertize
|
||||||
(pcase doom-modeline-buffer-file-name-style
|
(pcase doom-modeline-buffer-file-name-style
|
||||||
('truncate-upto-project (doom-modeline--buffer-file-name 'shrink))
|
(`truncate-upto-project (doom-modeline--buffer-file-name 'shrink))
|
||||||
('truncate-upto-root (doom-modeline--buffer-file-name-truncate))
|
(`truncate-upto-root (doom-modeline--buffer-file-name-truncate))
|
||||||
('truncate-all (doom-modeline--buffer-file-name-truncate t))
|
(`truncate-all (doom-modeline--buffer-file-name-truncate t))
|
||||||
('relative-to-project (doom-modeline--buffer-file-name-relative))
|
(`relative-to-project (doom-modeline--buffer-file-name-relative))
|
||||||
('relative-from-project (doom-modeline--buffer-file-name-relative 'include-project))
|
(`relative-from-project (doom-modeline--buffer-file-name-relative 'include-project))
|
||||||
('file-name (propertize (file-name-nondirectory buffer-file-name)
|
(`file-name (propertize (file-name-nondirectory buffer-file-name)
|
||||||
'face
|
'face
|
||||||
(let ((face (or (and (buffer-modified-p)
|
(let ((face (or (and (buffer-modified-p)
|
||||||
'doom-modeline-buffer-modified)
|
'doom-modeline-buffer-modified)
|
||||||
|
@ -677,7 +677,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
icons."
|
icons."
|
||||||
(when (boundp 'flycheck-last-status-change)
|
(when (boundp 'flycheck-last-status-change)
|
||||||
(pcase flycheck-last-status-change
|
(pcase flycheck-last-status-change
|
||||||
('finished (if flycheck-current-errors
|
(`finished (if flycheck-current-errors
|
||||||
(let-alist (flycheck-count-errors flycheck-current-errors)
|
(let-alist (flycheck-count-errors flycheck-current-errors)
|
||||||
(let ((sum (+ (or .error 0) (or .warning 0))))
|
(let ((sum (+ (or .error 0) (or .warning 0))))
|
||||||
(doom-modeline-icon "do_not_disturb_alt"
|
(doom-modeline-icon "do_not_disturb_alt"
|
||||||
|
@ -685,10 +685,10 @@ icons."
|
||||||
(if .error 'doom-modeline-urgent 'doom-modeline-warning)
|
(if .error 'doom-modeline-urgent 'doom-modeline-warning)
|
||||||
-0.25)))
|
-0.25)))
|
||||||
(doom-modeline-icon "check" nil 'doom-modeline-info)))
|
(doom-modeline-icon "check" nil 'doom-modeline-info)))
|
||||||
('running (doom-modeline-icon "access_time" nil 'font-lock-doc-face -0.25))
|
(`running (doom-modeline-icon "access_time" nil 'font-lock-doc-face -0.25))
|
||||||
('no-checker (doom-modeline-icon "sim_card_alert" "-" 'font-lock-doc-face))
|
(`no-checker (doom-modeline-icon "sim_card_alert" "-" 'font-lock-doc-face))
|
||||||
('errored (doom-modeline-icon "sim_card_alert" "Error" 'doom-modeline-urgent))
|
(`errored (doom-modeline-icon "sim_card_alert" "Error" 'doom-modeline-urgent))
|
||||||
('interrupted (doom-modeline-icon "pause" "Interrupted" 'font-lock-doc-face)))))
|
(`interrupted (doom-modeline-icon "pause" "Interrupted" 'font-lock-doc-face)))))
|
||||||
;; ('interrupted (doom-modeline-icon "x" "Interrupted" 'font-lock-doc-face)))))
|
;; ('interrupted (doom-modeline-icon "x" "Interrupted" 'font-lock-doc-face)))))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue