We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d0ad0 commit bf8262cCopy full SHA for bf8262c
lsp-ui-peek.el
@@ -319,7 +319,12 @@ XREFS is a list of references/definitions."
319
'face 'lsp-ui-peek-filename
320
'file filename
321
'xrefs xrefs)
322
- (propertize " " 'display `(space :align-to (- right-fringe ,(1+ (length len-str)))))
+ (propertize " " 'display `(space :align-to (- right-fringe
323
+ ;; Account for Emacs TTY's window divider
324
+ ;; Without this leeway, the reference count
325
+ ;; string goes to next line - impairs readability
326
+ ,(if (display-graphic-p) 0 1)
327
+ ,(1+ (length len-str)))))
328
(propertize len-str 'face 'lsp-ui-peek-filename))
329
lsp-ui-peek--list)))
330
(setq lsp-ui-peek--list (nreverse lsp-ui-peek--list))
0 commit comments