mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tools/magit: fix ivy's sorting with magit #1131
By default, magit-completing-read-function is set to magit-builtin-completing-read, which already includes ivy support.
This commit is contained in:
@ -19,11 +19,7 @@ what features are available.")
|
|||||||
:init
|
:init
|
||||||
(setq magit-auto-revert-mode nil) ; we already use `global-auto-revert-mode'
|
(setq magit-auto-revert-mode nil) ; we already use `global-auto-revert-mode'
|
||||||
:config
|
:config
|
||||||
(setq magit-completing-read-function
|
(setq magit-revision-show-gravatars '("^Author: " . "^Commit: ")
|
||||||
(if (featurep! :completion ivy)
|
|
||||||
#'ivy-completing-read
|
|
||||||
#'magit-builtin-completing-read)
|
|
||||||
magit-revision-show-gravatars '("^Author: " . "^Commit: ")
|
|
||||||
magit-diff-refine-hunk t ; show word-granularity on selected hunk
|
magit-diff-refine-hunk t ; show word-granularity on selected hunk
|
||||||
magit-display-buffer-function #'+magit-display-buffer
|
magit-display-buffer-function #'+magit-display-buffer
|
||||||
magit-popup-display-buffer-action '((+magit-display-popup-buffer)))
|
magit-popup-display-buffer-action '((+magit-display-popup-buffer)))
|
||||||
|
Reference in New Issue
Block a user