Skip to content

Commit f15a939

Browse files
authored
fix(ui): do not show virt_lines for messages (#1904)
## Description <!-- Describe the big picture of your changes to communicate to the maintainers why we should accept this pull request. --> neovim/neovim#31959 has introduced virtual lines for showing diagnostics. If this is enabled (default value), messages from lazy.nvim, such as `update available` are shown as virtual lines in addition to virtual texts. ## Related Issue(s) <!-- If this PR fixes any issues, please link to the issue here. - Fixes #<issue_number> --> ## Screenshots <!-- Add screenshots of the changes if applicable. --> * ***before*** - <img width="592" alt="スクリーンショット 2025-01-27 16 42 27" src="https://github.com/user-attachments/assets/6994ac84-4862-4532-81ee-80f4015181e5" /> * ***after*** - <img width="585" alt="スクリーンショット 2025-01-27 16 42 58" src="https://github.com/user-attachments/assets/d19f63dc-fb6d-434f-89cf-a0bc49d31c5f" />
1 parent 7527af4 commit f15a939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/view/render.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function M:update()
9494
diag.lnum = diag.row - 1
9595
return diag
9696
end, self._diagnostics),
97-
{ signs = false, virtual_text = true, underline = false }
97+
{ signs = false, virtual_text = true, underline = false, virtual_lines = false }
9898
)
9999
end
100100

0 commit comments

Comments
 (0)