Merge pull request #4283 from darth10/fix/which-key-god-mode-support

Enable god-mode support for which-key if required
This commit is contained in:
Henrik Lissner 2020-11-20 15:28:37 -05:00 committed by GitHub
commit a14a38cc5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -4,4 +4,7 @@
:hook (doom-after-init-modules . god-mode-all) :hook (doom-after-init-modules . god-mode-all)
:config :config
(add-hook 'post-command-hook #'+god--configure-cursor-and-modeline-h) (add-hook 'post-command-hook #'+god--configure-cursor-and-modeline-h)
(add-hook 'overwrite-mode-hook #'+god--toggle-on-overwrite-h)) (add-hook 'overwrite-mode-hook #'+god--toggle-on-overwrite-h)
(after! which-key
(which-key-enable-god-mode-support)))

View file

@ -1,4 +1,4 @@
;; -*- no-byte-compile: t; -*- ;; -*- no-byte-compile: t; -*-
;;; editor/god/packages.el ;;; editor/god/packages.el
(package! god-mode :pin "ad2e6745294843462f78768b5a1cd3b0d3563951") (package! god-mode :pin "f51c8f60e55393cced8cb0bd4a5bf0ab1612caa4")