Skip to content

Commit

Permalink
Prevent golden-ratio from resizing the scrollbar #88 #44
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiencs committed Aug 25, 2020
1 parent e914f58 commit 7c05cfd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion company-box.el
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,10 @@ COMMAND: See `company-frontends'."
(when (boundp 'dimmer-prevent-dimming-predicates)
(add-to-list
'dimmer-prevent-dimming-predicates
'company-box--is-own-buffer))))
'company-box--is-own-buffer)))
(with-eval-after-load 'golden-ratio
(when (boundp 'golden-ratio-exclude-buffer-regexp)
(add-to-list 'golden-ratio-exclude-buffer-regexp " *company-box"))))

(defvar company-box-mode-map nil
"Keymap when `company-box' is active.")
Expand Down

0 comments on commit 7c05cfd

Please sign in to comment.