Skip to content

Commit

Permalink
Prevent golden-ratio from resizing the scrollbar sebastiencs#88 sebas…
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiencs authored and kiennq committed Aug 31, 2020
1 parent 9fff1ef commit 6a113f2
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 @@ -720,7 +720,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"))))

(defun company-box--set-mode (&optional frame)
(cond
Expand Down

0 comments on commit 6a113f2

Please sign in to comment.