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 deeefa0 commit e48e330Copy full SHA for e48e330
lsp-ui-sideline.el
@@ -210,7 +210,8 @@ This face have a low priority over the others."
210
211
(defun lsp-ui-sideline--first-line-p (pos)
212
"Return non-nil if POS is on the first line."
213
- (save-excursion (goto-char 1) (forward-line 1) (> (point) pos)))
+ (when (integerp pos)
214
+ (save-excursion (goto-char 1) (forward-line 1) (> (point) pos))))
215
216
(defun lsp-ui-sideline--calc-space (win-width str-len index)
217
"Calculate whether there is enough space on line.
0 commit comments