Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangou committed Apr 7, 2024
1 parent 745cf51 commit 47f3490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doom-modeline-segments.el
Original file line number Diff line number Diff line change
Expand Up @@ -730,8 +730,8 @@ Uses `nerd-icons-octicon' to fetch the icon."
(doom-modeline-display-icon .icon)
(doom-modeline-vspc)
(doom-modeline-display-text .text))
'mouse-face 'doom-modeline-highlight
'help-echo (get-text-property 1 'help-echo vc-mode)
'mouse-face 'doom-modeline-highlight
'local-map (get-text-property 1 'local-map vc-mode))
(doom-modeline-spc))))

Expand Down Expand Up @@ -1019,7 +1019,7 @@ level."
(doom-modeline-display-icon s)))))
(propertize str
'help-echo (get-text-property 1 'help-echo seg)
'mouse-face (get-text-property 1 'mouse-face seg)
'mouse-face 'doom-modeline-highlight
'local-map (get-text-property 1 'local-map seg)))
(doom-modeline-spc))))

Expand Down

0 comments on commit 47f3490

Please sign in to comment.