You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(defun company-posframe-show-at-prefix (info)
"Poshandler showing `company-posframe' at `company-prefix'."
(let* ((parent-window (plist-get info :parent-window))
(point (with-current-buffer (window-buffer parent-window)
(- (plist-get info :position)
(plist-get info :company-prefix-length))))
(posn (posn-at-point point parent-window))
;; TODO: Strictly speaking, if company-posframe-font is not nil, that
;; should be used to find the default width...
(expected-margin-width (* (plist-get info :company-margin) (default-font-width)))
(xy (posn-x-y posn)))
(setcar xy (- (car xy) expected-margin-width))
(posframe-poshandler-point-bottom-left-corner (plist-put info :position posn))))
I have set up a bigger line height because I like my code to breathe.
With this config the child frame overlaps the current line:
Is there a way to configure the child frame position?
The text was updated successfully, but these errors were encountered: