Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

golden-ratio not work well with which-key side window #82

Open
stardiviner opened this issue Jan 31, 2020 · 2 comments
Open

golden-ratio not work well with which-key side window #82

stardiviner opened this issue Jan 31, 2020 · 2 comments

Comments

@stardiviner
Copy link

golden-ratio does not work with which-key side window.
How can I add which-key side window to golden-ratio exclude rules?

@stardiviner
Copy link
Author

Here is the screenshot:

image

@vmfhrmfoaj
Copy link
Contributor

I found following code (On Emacs-28.0.5 (native-comp branch) it works fine):

(with-eval-after-load "which-key"
  (add-to-list 'golden-ratio-inhibit-functions
               (lambda ()
                 (and which-key--buffer
                      (window-live-p (get-buffer-window which-key--buffer))))))

#60 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants